1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-04 23:35:36 -08:00
Commit Graph

17 Commits

Author SHA1 Message Date
guenther
f2ddd4444c dladdr(3) is in POSIX-2024, though the structure type was renamed
to match Solaris and _not_ match glibc/BSDs and no one caught it
before publication.  Provide the new name but keep providing the
existing names under the same conditions as before.  Update #include
visibility and dlfcn(3) manpage and add restrict qualifiers.

ok deraadt@
2024-09-01 04:27:45 +00:00
tb
c1d0be48fa Add #define for RTLD_NOLOAD missed in last ld.so commit. 2022-08-20 17:39:22 +00:00
semarie
296fbf9f7d 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@
2021-06-02 07:29:03 +00:00
kettenis
a0d792cdd9 Implement a DL_REFERENCE dlctl. To be used by the upcoming
__cxa_thread_atexit() implementation.

ok guenther@
2017-11-28 17:19:47 +00:00
deraadt
ca229a5cc8 dlerror() should not return const char *, as noted by landry
ok guenther
2013-03-24 01:37:21 +00:00
guenther
2c79e7cc0b More compliance fixes: hiding non-standard stuff behind __BSD_VISIBLE,
making files stand-alone, some __restrict additions.

tweaks kettenis@; ports testing and fixes landry@ and jasper@
ok millert@
2012-10-01 00:21:19 +00:00
jason
2e10aa311d based on a diff from Matt Provost: allow printing of ldd information
on libraries themselves.  Works by setting up the debugging flags then
calling dlopen() to do the heavy lifting.  ok drahn
2007-05-29 04:47:17 +00:00
drahn
1e440e158a Provide hook so that rthreads can provide a spinlock to protect from races
in lazy binding. ok art@, kurt@
2007-05-05 15:21:21 +00:00
drahn
7be38e1c5f add dladdr() support and add some 'standard' dlsym() support.
ok millert miod pval, grumble deraadt
2004-08-11 19:14:56 +00:00
drahn
e87ff635e5 Add defines for missing RTLD_, eg RTLD_GLOBAL and RTLD_LOCAL,
values for RTLD_GLOBAL and RTLD_LOCAL are same as solaris uses.
2003-09-02 15:14:54 +00:00
marc
be7ded7ec8 Add DL_SETTHREADLCK. "pretty obviously safe i think" teddu@ 2003-04-25 19:16:12 +00:00
deraadt
4736981421 withough -> without 2002-06-02 22:49:59 +00:00
millert
c72b5b24e1 Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. 2002-02-16 21:27:05 +00:00
art
d6cb848c46 correct prototype for dlerror. 2001-05-31 14:04:09 +00:00
espie
7f721c00ad dlopen and dlsym take const char * parameters.
Fix prototypes, propagate const where applicable.
1999-12-09 18:10:23 +00:00
niklas
5ea2d675e0 Well, as we are heading for a release people are encouraged to rebuild their
entire trees for testing anyway, I might as well do this intrusive touching
of include files now.  Added openBSD tags.
1997-09-21 10:45:23 +00:00
deraadt
df930be708 initial import of NetBSD tree 1995-10-18 08:37:01 +00:00