summaryrefslogtreecommitdiff
path: root/libexec
AgeCommit message (Collapse)Author
2014-10-09obvious reallocarray() conversionsTheo de Raadt
2014-10-08obvious reallocarray() use for * int overflow; ok dougTheo de Raadt
2014-10-08remove useless castTheo de Raadt
2014-10-08do not need a cast from void *Theo de Raadt
2014-10-05we use tradcpp instead; ok jsgTheo de Raadt
2014-09-22Correct the token used.Brad Smith
Pointed out by LLVM. ldasm.S:111:74: error: unexpected token in '.type' directive .section ".text" ; .align 4 ; .global _dl_issetugid ; .type _dl_issetugid%function ;_dl_issetugid: ; movl $253,%eax; int $0x80 ; jb .L_cerr ; ret ^ ok guenther@
2014-09-16use crypt_checkpass function to make things simpleTed Unangst
2014-09-16less sendmail;Jason McIntyre
2014-09-16less sendmail;Jason McIntyre
2014-09-16no need to Xr sendmail here;Jason McIntyre
2014-09-15Remove non-standard <sys/dkstat.h> header. It has not contained anythingMiod Vallat
related to disk stastics for almost 17 years, and the remaining userland-visible defines duplicate those found in <sys/sched.h>. Move the remaining _KERNEL defines to <sys/tty.h> where they belong, and update all users to cope with this. ok kettenis@
2014-09-01Sync readlink(2) with IEEE Std 1003.1-2008.Doug Hogan
discussion, help and ok guenther@
2014-09-01Simplify the syslog.conf example: .info means that *and higher*Philip Guenther
ok beck@
2014-08-30Make the handling of PLT entries above the 32k mark thread-safe.Philip Guenther
Also, make a comment not lie: use the V9 ISA's relative branch immediate instruction for short (with in 2^19 words) PLT branches. ok miod@
2014-08-25Delete secret or secret-derived data with explicit_bzero.Doug Hogan
concept ok deraadt@ diff looks ok tedu@
2014-08-19ld.so(1): Missing stack var initializationMasao Uebayashi
Explicitly zero-clear stack array to read dynamic segments. This code has been working because stack is mapped as anon and zero'ed right after execve(2). Found by work-in-progress Valgrind port for OpenBSD/amd64. OK millert@ guenther@
2014-08-10Only need <stdint.h> and not all of <inttypes.h> herePhilip Guenther
2014-08-08some basic fixes;Jason McIntyre
2014-08-08Add support for using - as shorthand for stdin/stdout in tradcpp.Jonathan Gray
When looking into switching the /usr/bin/cpp wrapper to tradcpp I came across "| ${CPP} ${CPPFLAGS} -" in usr.bin/which. gcc documents this behaviour for cpp here: https://gcc.gnu.org/onlinedocs/cpp/Invocation.html Versions of the John F. Reiser derived cpp in 32V and CSRG SCCS accept this usage as well, as does the cpp in PCC.
2014-07-30unhook auxcppJonathan Gray
2014-07-30descend into tradcppJonathan Gray
2014-07-30Add tradcpp 0.4, a standalone traditional whitespace preserving cppJonathan Gray
by David A. Holland of NetBSD.
2014-07-28_dl_sigprocmask() works better when it actually saves the returned sigmaskPhilip Guenther
asm suggestion from kettenis@ tested by miod@, suffering under the brain-destroying summer heat
2014-07-16zap trailing newlines; "go for it" deraadtOkan Demirmen
2014-07-14The file /etc/exports is now optional and not installed by default,Ingo Schwarze
so do not complain when it is absent. issue found by and patch ok by ajacoutot@ "I don't do perl, but seems ok" deraadt@
2014-07-14explicit copyright, as authorized by Thomas. Thanks!Marc Espie
2014-07-14Now that we have sendsyslog(2), we can directly use it in theTheo de Raadt
(previously completely retarded) stack_smash_handler of ld.so ok beck miod tedu
2014-07-12Hook auxcppMatthieu Herrb
2014-07-12Eliminate strcpy() and sprintf() in auxcpp. ok deraadt@Matthieu Herrb
2014-07-12Local tweaks to ucpp:Matthieu Herrb
- exit on the 1st error it finds. Better than stopping processing input - accept -P as a synonym for -l since this is what xrdb uses to suppress #line markers.
2014-07-12Rename the manual page to auxcpp.1Matthieu Herrb
2014-07-12BSD Makefile for auxcppMatthieu Herrb
2014-07-12Import a copy of ucpp, lightweight cpp that doesn't dependMatthieu Herrb
on the 'comp' set. Moving from xenocara with a new name. ok deraadt@.
2014-07-11using COPTS is probably better than CFLAGSTheo de Raadt
2014-07-10check all memory allocations; ok miod@ guenther@Otto Moerbeek
2014-07-10typo in previousMiod Vallat
2014-07-09Use O_CLOEXEC to make sure fork+exec in a threaded process can'tPhilip Guenther
see the fds used by dlopen() ok otto@ miod@
2014-07-09_dl_fcntl() is no longer used; kill the stubsPhilip Guenther
ok otto@ miod@
2014-07-09Resync _dl_opendir() with libc: use O_CLOEXEC and O_DIRECTORY insteadPhilip Guenther
of post-open tests and fixups. Also, reorder _dl_dirdesc to save 8 bytes on LP64. ok otto@ miod@
2014-07-09Fix backtraces through _dl_bind_start by adding dwarf annotations forPhilip Guenther
the stack adjustments/handling in the asm. Based on FreeBSD. ok kettenis@ matthew@
2014-07-08decouple struct uvmexp into a new file, so that uvm_extern.h and sysctl.hTheo de Raadt
don't need to be married. ok guenther miod beck jsing kettenis
2014-07-06allocate two things, test two pointers; ok miod@ guenther@Otto Moerbeek
2014-07-06int all fields, so calloc can become malloc; ok miod@Otto Moerbeek
2014-07-06enable -Wall, explicitly call _dl_strsep, and zap some redundant includesOtto Moerbeek
ok miod@
2014-07-06Apply ld.so's sod.c 1.25 (do not divide by zero in _dl_findhit if there is aMiod Vallat
valid hints file but no buckets in it) here too, in order to keep both instances of this code in sync.
2014-07-06this version of malloc does not need string.hOtto Moerbeek
2014-07-06rm unneeded includes; prompted (partly) by kettenis@Otto Moerbeek
2014-07-06move from sysclt(KERN_ARND) to getentropy(2); ok miod@, kettenis@Otto Moerbeek
2014-07-05Mark _dl_exit __dead.Miod Vallat
2014-07-05Implement _dl_mmap as direct mmap(2) wrapper, without needing to useMiod Vallat
__syscall(2) - calling convention will conveniently provide the padding argument.