| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
__atexit tables and touches global variables. From Srinavasa Nagaraju
through Android/Elliott Hughes.
ok tedu@, guenther@
|
|
|
|
|
| |
handlers. if this happens, restart the loop.
ok kettenis matthew millert miod
|
|
|
|
|
|
|
|
|
|
|
| |
The extra argument doesn't hurt genuine atexit handlers and this fixes a
bug where we didn't provide the argument (effectively passing garbage) for
functions registered with __cxa_atexit in the main executable.
Pointed out by Dmitriy Ivanov <dimitry@google.com> and Elliott Hughes
<enh@google.com>.
ok matthew@
|
|
|
|
|
|
|
|
|
|
| |
right __dso_handle and have dlopen'ed shared objects run their atexit handlers
when they get unloaded. This is what Linux does, and several ports depend on
this behaviour (and will crash upon exit without this chang).
Based on an earlier diff from matthew@
Tested by ajacoutot@
ok deraadt@
|
|
|
|
|
|
|
| |
move the call_depth decrement so it happens unconditionally and can
still return to 0 when called with dso!=NULL.
ok millert
|
|
|
|
|
|
| |
invokes handlers registered with __cxa_atexit().
"seems right" deraadt@
|
|
|
|
| |
ok millert@ ray@
|
|
|
|
| |
object destructors called at dlclose() time. Inspired by similar changes in FreeBSD and NetBSD.
|
|
|
|
|
| |
originally reported by Gergely Kovacs; help from dhartmei@;
ok tedu@ millert@
|
| |
|
|
|
|
|
|
| |
Kill old files that are no longer compiled.
okay theo
|
|
|
|
|
| |
no longer needs initializing (we use mmap for malloc entirely now)
noticed by kjell, ok dhartmei, tested by me
|
|
|
|
| |
ok otto deraadt
|
|
|
|
| |
similar to the atexit handlers. Idea and help deraadt@, ok deraadt@
|
| |
|
|
|
|
|
| |
malloc.c gets the first mmap() call (since it depends on that, for its
sbrk(0) use). ok deraadt@
|
|
|
|
| |
first.
|
|
|
|
|
| |
function pointers from the outside will segfault. Idea, hints and feedback
from deraadt. ok deraadt.
|
|
|
|
| |
Make sure everything uses {SYS,}LIBC_SCCS properly
|
|
|