add RTLD_NODELETE support
authorsemarie <semarie@openbsd.org>
Wed, 2 Jun 2021 07:29:03 +0000 (07:29 +0000)
committersemarie <semarie@openbsd.org>
Wed, 2 Jun 2021 07:29:03 +0000 (07:29 +0000)
commit296fbf9f7d7448b007144be0153241fcd4aeed44
treefd6ad56d8c5d9ee025a049d6e37447693097eb1a
parent9f67f65b7ee43f0ed9f444d4792678bb874a7857
add RTLD_NODELETE support

if RTLD_NODELETE isn't POSIX, it is widely deployed: at least linux,
freebsd, dragonfly, netbsd, solaris, illumos, apple, and fuchsia have
it.

ok kettenis@ on previous version
with help from and ok guenther@

diff partially inspired from a diff from brad@
include/dlfcn.h
lib/libc/shlib_version
libexec/ld.so/dlfcn.c
libexec/ld.so/resolve.c
libexec/ld.so/resolve.h
share/man/man3/dlfcn.3