summaryrefslogtreecommitdiff
path: root/libexec
AgeCommit message (Collapse)Author
2013-11-10Make sure we pass a NULL cleanup argument to __start() by initializingPhilip Guenther
a2 to zero in the kernel and ld.so. This will let us add the conditional atexit() call to crt0 ok kettenis@ miod@
2013-11-02do not log passwords, even if they are wrong.Sebastian Benoit
ok mcbride halex
2013-10-18does not need stab.hTheo de Raadt
2013-09-15Some missing .Pa macros in FILES sections;Ingo Schwarze
from Jan Stary <hans at stare dot cz>; discussed with jmc@.
2013-08-22Correct format string mismatches turned up by -Wformat=2Philip Guenther
suggestions and ok millert@
2013-08-21Remove the use of time_t in the greylist db file and use int64_t insteadTodd C. Miller
with backwards compatibility for records with 32-bit times. OK deraadt@ beck@
2013-08-14some Bx/Ox conversion;Jason McIntyre
From: Jan Stary
2013-08-13unbreakMiod Vallat
2013-08-13Switch time_t, ino_t, clock_t, and struct kevent's ident and dataPhilip Guenther
members to 64bit types. Assign new syscall numbers for (almost all) the syscalls that involve the affected types, including anything with time_t, timeval, itimerval, timespec, rusage, dirent, stat, or kevent arguments. Add a d_off member to struct dirent and replace getdirentries() with getdents(), thus immensely simplifying and accelerating telldir/seekdir. Build perl with -DBIG_TIME. Bump the major on every single base library: the compat bits included here are only good enough to make the transition; the T32 compat option will be burned as soon as we've reached the new world are are happy with the snapshots for all architectures. DANGER: ABI incompatibility. Updating to this kernel requires extra work or you won't be able to login: install a snapshot instead. Much assistance in fixing userland issues from deraadt@ and tedu@ and build assistance from todd@ and otto@
2013-08-07disable libexec/identd and enable usr.sbin/identd.David Gwynne
ok sthen@ deraadt@
2013-08-06Switch vax to gcc 3.3.6.Miod Vallat
2013-07-26Make sure tmpline[] is always NUL terminated, to avoid possiblePhilip Guenther
read-beyond-end in get_line(). Analysis and patch by Maxime Villard (rustyBSD (at) gmx.fr) ok millert@ deraadt@
2013-07-16use .Mt for email addresses; from Jan Stary <hans at stare dot cz>Ingo Schwarze
2013-07-16non[ -]existing -> non-existent;Jason McIntyre
2013-07-16where "-" represents stdin, just use Sq, not Fl, since it's not a flag;Jason McIntyre
from Jan Stary
2013-07-15Remove some unused variables, from David Hill dhill at mindcry.orgJeremie Courreges-Anglas
While here, do better checks in elf_write_lib() and ansify elf_sum_reloc()'s decl/def. With input from and ok krw@
2013-07-14Fix possible memory/fd leak in the error path.Jeremie Courreges-Anglas
From David Hill dhill at mindcry.org; ok krw@
2013-07-10no more link(5). either remove references entirely, or point folksJason McIntyre
to elf(5) instead; ok miod
2013-07-05ELF_TOOLCHAIN bye bye.Miod Vallat
2013-07-05VAX ELF userland bits. Consists mostly of register prefix additions.Miod Vallat
2013-06-21Stop using deprecated Kerberos functions.Antoine Jacoutot
ok millert@
2013-06-19don't link to hx509, pthread and ntlm related librariesRobert Nagy
2013-06-17Do not misinterpret "--" at the end of a NAME section input lineIngo Schwarze
as hyphenation. Fixes parsing of some manuals preformatted with outlandish versions of groff. Issue found by kerberos-robert@ in krb5_appdefault_time.0 Okay espie@
2013-06-17link to the new kerberos librariesRobert Nagy
2013-06-13Appease LLVM warning..Brad Smith
error: indirection of non-volatile null pointer will be deleted, not trap [-Werror,-Wnull-dereference] Suggestion from matthew@ Ok matthew@ miod@
2013-06-09Constify the mib argument of sysctl().Miod Vallat
ok matthew@ millert@
2013-06-04do not go into upper to lower case translation mode when a all-capsSebastian Benoit
username has been entered. ok deraadt@
2013-06-04Add handling for keyboard layouts which break modhex (like dvorak and manyRyan Thomas McBride
others); concept and keymap table (covering about 400 layouts) from modhex.js by Daniel Holth. ok sthen@, ok halex@ (who also provided much testing and feedback)
2013-06-04Fix a bunch of "variable 'foo' set but not used." warnings emitted by newer GCC.Brad Smith
ok matthew@ kurt@
2013-06-01Make all the syscall prototypes consistent with their real forms for types,Philip Guenther
whitespace, and no argument names. ok matthew@ deraadt@
2013-06-01Introduce ltrace(1). This tool works with ld.so to inject utrace record forMiod Vallat
each plt call, allowing to trace a binary linked against shared library at the public function call level. To do so, ltrace(1) sets up some environment variables to enable plt tracing in ld.so, and invokes ktrace(2) for utrace events. ld.so will force lazy binding and will send an utrace record in the plt resolver, without updating the plt. Minimal filtering capabilities are provided, inspired by Solaris' truss -u, to limit tracing to libraries and/or symbol names. Non-traced libraries and symbols will have the regular resolver processing, with the expected plt update. "Get it in" deraadt
2013-05-17Try and support the non-PIC TEXTREL relocations which may creep in binariesMiod Vallat
when linked against non-pic material (such as linking against libgcc without passing -fpic or -fPIC on the commandline). Given the large userland address space (4GB) and random library placement, it is unlikely that these relocations can ever suceed anyway (DISP26 only allows for a 256MB offset); _dl_exit() in that case, after printing a warning message. That's better than dumping core.
2013-05-15undo malfunctionMiod Vallat
2013-05-14Don't display swapin/swapout uvmexp fieldsMiod Vallat
2013-05-08Implement symbol caching and RELACOUNT/RELCOUNT optimizations.Philip Guenther
Much assistance and testing by miod ok miod@
2013-05-07fixed size types should be fixed size. long -> uint32_t.Ted Unangst
from Matthias Pitzl pitzl at genua de
2013-05-04fix use after free in error pathsJonathan Gray
ok sthen@ jung@ fgsch@
2013-04-21use poll + nanosleep instead of select with a fixed size fd_setTheo de Raadt
ok tedu
2013-04-20Prefer the processor-specific _DYNAMIC[] tags value to find out the boundariesMiod Vallat
of the .plt whenever possible, and fallback to the old behaviour of searching for special symbols pointing to its boundaries. No functional change.
2013-04-17do not mix concepts of gettimeofday(), tv_sec, and localtime() in aTheo de Raadt
useless fashion.
2013-04-16an acceptable time_t truncation (binding cannot take that long)Theo de Raadt
ok matthew
2013-04-05- Add ORIGIN, OSNAME, OSREL and PLATFORM substitution support for rpaths.Kurt Miller
Improvements and okay matthew@, millert@, guenther@
2013-03-29Enable lazy binding by default.Miod Vallat
2013-03-26SH is a RelA architecture, not a Rel one. Fix _dl_bind() and lazy gotpltMiod Vallat
relocation to correctly process RelA entries. This allows lazy binding to work so far; not enabled yet, must survive some serious churning first.
2013-03-26Recommit the change that explicitly passes %sr0 to fic instructions. miod@ isMark Kettenis
still puzzled why this didn't work back in 2010, but it does work now and paves the way for binutils 2.17 on hppa. Obviously based on miod@'s earlier diff. ok miod@
2013-03-24dlerror() should not return const char *, as noted by landryTheo de Raadt
ok guenther
2013-03-21Correct the last change to untaint $fmt; it caused the final parameter ofStuart Henderson
the format string to be dropped, causing the year to be printed instead of the filename, as reported by ajacoutot. ok espie@
2013-03-20- Parse colon separated paths into NULL terminated arrays of stringKurt Miller
pointers to prepare for adding rpath ORIGIN support. okay matthew@ millert@
2013-03-19Untaint a variable used in an sprintf format string by using a regex and back-Stuart Henderson
reference. This diff from espie@ after we worked through a few alternatives. (Background: with perl's taint mode, any operation other than RE+backref, even just taking a length of a tainted [user-supplied/untrusted] string, results in a tainted variable. Perl 5.14 improves the checks in format strings to sprintf which triggers with this script).
2013-03-18create an empty %skip even if SUIDSKIP is not set, newer perl complains.Stuart Henderson
"I don't even see how this could work before" and ok espie@