Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-03-21 | Correct the last change to untaint $fmt; it caused the final parameter of | Stuart 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 string | Kurt Miller | |
pointers to prepare for adding rpath ORIGIN support. okay matthew@ millert@ | |||
2013-03-19 | Untaint 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-18 | create 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@ | |||
2013-03-18 | Enclose qw()...) literals in parentheses where required; this was historically | Stuart Henderson | |
assumed anyway, but recent versions of Perl deprecate this. ok espie@ | |||
2013-03-18 | Fix comment tpyos | Philip Guenther | |
2013-03-11 | remove line left from previous; | Jason McIntyre | |
2013-03-11 | Report -u and -g support; running as another privdrop user or group is stupid. | Theo de Raadt | |
ok millert guenther | |||
2013-03-11 | handle ECONNABORTED errors from accept(). In many code blocks they can be | Theo de Raadt | |
ignored silently and without aborting, much like EINTR and EWOULDBLOCK are. ok's from various maintainers of these directories... | |||
2013-03-09 | Code has not fallen back to "nobody" in a very long time; | Theo de Raadt | |
jca at wxcvbn.org | |||
2013-02-17 | Always enter this ld.so and subdirectories to create obj (and then the | Theo de Raadt | |
MI man pages, even if vax currently lacks the programs) | |||
2013-02-06 | Add a dummy memcpy(), needed when building ld.so with gcc3. | Miod Vallat | |
2013-02-02 | Be sure to pass a NULL cleanup pointer to CSU. | Miod Vallat | |
2013-01-31 | The code to use relative jumps in the GOT was completely broken, calculating | Philip Guenther | |
the offset in the wrong direction, failing to take into account where in the relocation the jump would be, and not even using the right instructions in one case. Fortunately(?), the test of whether the offset was small enough had signed-vs-unsigned bugs too, so it was never used. ok miod@ | |||
2013-01-29 | refactor code a bit to actually store subjects in the subject object | Marc Espie | |
reformat for 8 spaces tab. okay millert@ | |||
2013-01-26 | Make sure to flush I$ over the plt in case of non-lazy relocation as well. | Miod Vallat | |
2013-01-26 | Forgot to remove one line in 1.2, in turn caused div() from libc to fail if | Miod Vallat | |
invoked with lazy binding. | |||
2013-01-23 | bits for an m68k ELF ld.so, to be used soon. Lazy resolver wrapper borrowed from | Miod Vallat | |
NetBSD. | |||
2013-01-23 | Cache flush .plt after updating its pointers to .got during the initial | Miod Vallat | |
object relocation, if loaded at a different address than the one it was compiled for; unsurprisingly fixes some spurious crashes. | |||
2013-01-21 | Use jmp, not jsr, to jump through registers. Doh! | Miod Vallat | |
This makes lazy binding work, so don't disable it anymore. | |||
2013-01-21 | Correctly define RELOC_JMP_SLOT on m88k. While there, remove the old sparc | Miod Vallat | |
wrong RELOC_JMP_SLOT define workaround. | |||
2013-01-20 | A first cut at ld.so bits for m88k. Lazy binding is currently disabled as it | Miod Vallat | |
does not work beyond the first few lazy resolver calls. But that's already enough to run simple binaries. | |||
2013-01-19 | Do not divide by zero in _dl_findhint() if there is a valid hints file but | Miod Vallat | |
no buckets in it (could happen if the administrator reruns ldconfig with bogus paths). ok matthew@ kurt@ drahn | |||
2013-01-14 | Do not bogusly attempt to mprotect ld.so's .rodata area RW at bootstrap | Miod Vallat | |
time: the logic is wrong, and there are no relocations to apply to .rodata anyway. ok jsing@ kettenis@ | |||
2013-01-13 | Fix warnings. | Federico G. Schwindt | |
millert@ ok. | |||
2013-01-13 | Correctly process RELOC_DIR32 while relocating ld.so itself; this allow | Miod Vallat | |
global data initializers to work as intended. ok drahn kettenis@ | |||
2013-01-11 | Proper bounds checking for DT_xxx values in _dl_boot_bind(). Turned out to be | Miod Vallat | |
harmless because we have full control over the array being processed, and none of the values we set up may trigger the bug; yet this may change in the future. ok drahn matthew@ | |||
2013-01-05 | Switch m88k ports to ELF. | Miod Vallat | |
2013-01-05 | if defined(NOPIC), do not attempt to .include arch/Makefile.inc for it may | Miod Vallat | |
not exist yet. | |||
2012-12-31 | Spell `calculation' correctly. | Miod Vallat | |
2012-12-23 | Make the per-user counter file r/w by group auth | Alexander Hall | |
xlock issue pointed out and diff tested by Andreas Bartelt, thanks! | |||
2012-12-22 | Zero %r0 before transferring control to the main program, to indicate that | Mark Kettenis | |
the main program should not register a cleanup handler with atexit(3). This will allow us to add the cleanup handler registration code to crt0.c and have ld.so pass its cleanup handler to the main program in the future. tested by tobiasu@ ok kurt@ | |||
2012-12-05 | Remove excessive sys/cdefs.h inclusion | Theo de Raadt | |
ok guenther millert kettenis | |||
2012-12-04 | replace sys/param.h with sys/types.h (and sometimes add limits.h if needed) | Theo de Raadt | |
ok guenther | |||
2012-12-04 | rather than a mishmash of headers, this only needs <stdint.h> | Theo de Raadt | |
with guenther | |||
2012-12-04 | remove some unnecessary sys/param.h inclusions | Theo de Raadt | |
2012-11-23 | make hex and modhex decoding case insensitive, the latter particulary | Alexander Hall | |
useful to avoid issues with SHIFT and CAPS LOCK on any keyboard. pointers on proper tolower usage by guenther@ "Yup" deraadt@, ok sthen@ on initial version ok guenther@ on final version | |||
2012-11-01 | Zero v0 before transferring control to the main program to indicate that | Mark Kettenis | |
the main program should not reguster a cleanup handler with atexit(3). This will allow us to add the cleanup handler registration code to crt0.c and have ld.so pass its cleanup handler to the main program in the future. While there, also zero ra to mark the last stack frame as demanded by the ELF ABI. ok kurt@, miod@ | |||
2012-11-01 | Clear r7 before passing control to the main object. | Mark Kettenis | |
2012-10-27 | Clear arg1 before passing control to the main object. | Mark Kettenis | |
2012-10-24 | Garbage-collect the _dl_stat() routine, now unused | Philip Guenthe | |
ok matthew@ deraadt@ | |||
2012-10-22 | Zero %rdx before transferring control to the main program, to indicate that | Mark Kettenis | |
the main program should not register a cleanup handler with atexit(3). This will allow us to add the cleanup handler registration code to crt0.c and have ld.so pass its cleanup handler to the main program in the future. ok kurt@ | |||
2012-10-22 | Stop passing around PS_STRINGS in %g1. The ELF ABI reserves this register | Mark Kettenis | |
for passing around a pointer to a cleanup function and we'd like to use it for that purpose in the near future. ok miod@ | |||
2012-10-22 | Stop passing around PS_STRINGS in %g1. The ELF ABI reserves this register | Mark Kettenis | |
for passing around a pointer to a cleanup function and we'd like to use it for that purpose in the near future. ok miod@ | |||
2012-10-02 | while it's of little harm, it's also been 5.5 years (and 8 releases), | Okan Demirmen | |
remove the db conversion from BTREE to HASH. ok beck@ | |||
2012-09-27 | remove some history details which have been around for long enough | Jason McIntyre | |
to no longer be relevant; ok beck | |||
2012-09-27 | last stage of rfc changes, using consistent Rs/Re blocks, and moving the | Jason McIntyre | |
references into a STANDARDS section; | |||
2012-09-17 | replace the erroneous DIAGNOSTICS section with a (hopefully) accurate | Jason McIntyre | |
EXIT STATUS one; ok guenther | |||
2012-09-12 | Define empty CDIAGFLAGS for programs that use Werror. | Christiano F. Haesbaert | |
Makes "make build" build with WARNINGS=Yes on amd64. ok espie | |||
2012-09-11 | prevent detection of bogus libraries | Marc Espie | |
problem initially noticed by deraadt@, exchanged various patches with kettenis@ decided to fix the bug now, even though ldconfig could probably use a larger rewrite. okay matthew@ |