diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2013-12-28 18:38:43 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2013-12-28 18:38:43 +0000 |
commit | bc12c86a75ed337690facd5ac2ed837f666bc171 (patch) | |
tree | 4e95d2fa4f28c783ccc07f63dbf98b9c9aa23c9c /sys/nfs/nfs_syscalls.c | |
parent | 90aa35af34f1764d881c3f88bbcf26688d2694c0 (diff) |
Move atexit(3) into crtbegin.c and certbeginS.c such that we can pass the
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@
Diffstat (limited to 'sys/nfs/nfs_syscalls.c')
0 files changed, 0 insertions, 0 deletions