Age | Commit message (Collapse) | Author |
|
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@
|
|
|
|
|
|
ok matthew@ deraadt@
|
|
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@
|
|
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@
|
|
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@
|
|
remove the db conversion from BTREE to HASH.
ok beck@
|
|
to no longer be relevant;
ok beck
|
|
references into a STANDARDS section;
|
|
EXIT STATUS one;
ok guenther
|
|
Makes "make build" build with WARNINGS=Yes on amd64.
ok 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@
|
|
so mkdep can find it. This was breaking builds after recent
changes to mkdep to error out if the compiler does.
ok deraadt@
|
|
ld.so itself, but also make it easier to debug code that uses dlopen(3).
ok deraadt@, matthew@
|
|
it isn't NULL before we dereference it.
Fixes perl PIE on hppa.
ok matthew@, deraadt@
|
|
ok deraadt@
|
|
executable and DSO (via crtbegin.c/crtbeginS.c). Not used yet, but
needed before GCC can start emitting -fstack-protector code that uses
them instead of __guard.
|
|
initializing their __guard values. For the time being, we're leaving
libc's constructor method as a backup to make sure __guard actually
gets initialized and to emit syslog warnings when it's not.
Not really an ABI change, so no shlib bump... "hold on to your butts"
ok deraadt, kettenis
|
|
segments to the kernel, ld (2.15), and ld.so. Tested on alpha, amd64,
i386, macppc, and sparc64 (thanks naddy, mpi, and okan!).
Idea discussed for some time; committing now for further testing.
ok deraadt
|
|
"memory" to the list of clobbered registers for all syscalls that
accept a pointer. This prevents GCC from optimizing away memory loads
and stores that otherwise appear unused in a function.
Issue noted and identified by miod; fix by me.
ok miod, mpi
|
|
|
|
|
|
|
|
RFCs in "SEE ALSO".
ok jmc@
|
|
indicate that the kernel should fail with MAP_FAILED if the specified
address is not currently available instead of unmapping it.
Change ld.so on i386 to make use of __MAP_NOREMAP to improve
reliability.
__MAP_NOREMAP diff by guenther based on an earlier diff by Ariane;
ld.so bits by guenther and me
bulk build stress testing of earlier diffs by sthen
ok deraadt; committing now for further testing
|
|
taking advantage of naddy@'s recent mtree(8) modernization.
While here, do not provide an example protecting a home directory
from file changes; protect some system binaries instead.
ok naddy@ jmc@
|
|
|
|
utterly clear this is not a filter criteria but a packet modification thing.
also preparation for upcoming changes, including one to unscrew this mess
(I should not have to touch half the tree for this - ifixitlater)
not user visible, ok gcc
|
|
ok kurt
|
|
entry momentarily, because another thread might attempt lazy resolve.
ok matthew guenther
|
|
from Liam J. Foy
|
|
ok matthew@
|
|
memory, we should be able to match other requests for libfoo.so.X.Z
against that same object.
ok kurt, kettenis
|
|
of the server against a local host keytab file when you're authing
users with login_krb5. useful for when you need to auth users but
dealing with the domain admins is painful...
ok sthen@ jj@ millert@
|
|
ok schwarze@
|
|
Otherwise the binary assumes that the requested TLS storage has been
allocated and will happily use it, resulting in unwanted memory corruption.
ok guenther@
|
|
millert, camield..
|
|
|
|
recyle of a fd which is still set.
ok claudio
|
|
|
|
_dl_dirdesc struct (containing just the fields ld.so's implementation
actually needs) instead of reusing libc's _dirdesc struct.
Also, switch ldconfig to use futimens() instead of futimes().
ok deraadt@
|
|
prompted by a mail from Gabriel Linder. OK henning@
|
|
poke by deraadt@
|
|
ok henning@ sthen@ mikeb@
deraadt@ wants this
|
|
occurrences to get_line().
Based on a diff from Jan Klemkow <j-dot-klemkow-at-wemelug-dot-de> to tech.
|
|
ok dcoppa@ jmc@ schwarze@.
|
|
|
|
body of the manual page; add missing argument to -s; while here,
remove a trailing whitespace found by jmc@
ok jmc@
|
|
phrasing when listing flags; add missing arguments to flags in the
DESCRIPTION section of the manual page.
use of .Li (literal text) macros and standard wording suggested by jmc@
ok jmc@
|