History log of /openbsd-current/include/dlfcn.h
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.16 20-Aug-2022 tb

Add #define for RTLD_NOLOAD missed in last ld.so commit.


Revision tags: OPENBSD_7_0_BASE OPENBSD_7_1_BASE
# 1.15 02-Jun-2021 semarie

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@


Revision tags: OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.14 28-Nov-2017 kettenis

Implement a DL_REFERENCE dlctl. To be used by the upcoming
__cxa_thread_atexit() implementation.

ok guenther@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.13 24-Mar-2013 deraadt

dlerror() should not return const char *, as noted by landry
ok guenther


Revision tags: OPENBSD_5_3_BASE
# 1.12 01-Oct-2012 guenther

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@


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE
# 1.11 29-May-2007 jason

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


# 1.10 05-May-2007 drahn

Provide hook so that rthreads can provide a spinlock to protect from races
in lazy binding. ok art@, kurt@


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.9 11-Aug-2004 drahn

add dladdr() support and add some 'standard' dlsym() support.
ok millert miod pval, grumble deraadt


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE
# 1.8 02-Sep-2003 drahn

Add defines for missing RTLD_, eg RTLD_GLOBAL and RTLD_LOCAL,
values for RTLD_GLOBAL and RTLD_LOCAL are same as solaris uses.


# 1.7 25-Apr-2003 marc

Add DL_SETTHREADLCK. "pretty obviously safe i think" teddu@


Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.6 02-Jun-2002 deraadt

withough -> without


Revision tags: OPENBSD_3_1_BASE
# 1.5 16-Feb-2002 millert

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.


Revision tags: OPENBSD_3_0_BASE
# 1.4 31-May-2001 art

correct prototype for dlerror.


Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE
# 1.3 09-Dec-1999 espie

dlopen and dlsym take const char * parameters.
Fix prototypes, propagate const where applicable.


Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE
# 1.2 21-Sep-1997 niklas

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.


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision


# 1.15 02-Jun-2021 semarie

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@


Revision tags: OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.14 28-Nov-2017 kettenis

Implement a DL_REFERENCE dlctl. To be used by the upcoming
__cxa_thread_atexit() implementation.

ok guenther@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.13 24-Mar-2013 deraadt

dlerror() should not return const char *, as noted by landry
ok guenther


Revision tags: OPENBSD_5_3_BASE
# 1.12 01-Oct-2012 guenther

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@


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE
# 1.11 29-May-2007 jason

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


# 1.10 05-May-2007 drahn

Provide hook so that rthreads can provide a spinlock to protect from races
in lazy binding. ok art@, kurt@


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.9 11-Aug-2004 drahn

add dladdr() support and add some 'standard' dlsym() support.
ok millert miod pval, grumble deraadt


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE
# 1.8 02-Sep-2003 drahn

Add defines for missing RTLD_, eg RTLD_GLOBAL and RTLD_LOCAL,
values for RTLD_GLOBAL and RTLD_LOCAL are same as solaris uses.


# 1.7 25-Apr-2003 marc

Add DL_SETTHREADLCK. "pretty obviously safe i think" teddu@


Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.6 02-Jun-2002 deraadt

withough -> without


Revision tags: OPENBSD_3_1_BASE
# 1.5 16-Feb-2002 millert

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.


Revision tags: OPENBSD_3_0_BASE
# 1.4 31-May-2001 art

correct prototype for dlerror.


Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE
# 1.3 09-Dec-1999 espie

dlopen and dlsym take const char * parameters.
Fix prototypes, propagate const where applicable.


Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE
# 1.2 21-Sep-1997 niklas

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.


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision


# 1.14 28-Nov-2017 kettenis

Implement a DL_REFERENCE dlctl. To be used by the upcoming
__cxa_thread_atexit() implementation.

ok guenther@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.13 24-Mar-2013 deraadt

dlerror() should not return const char *, as noted by landry
ok guenther


Revision tags: OPENBSD_5_3_BASE
# 1.12 01-Oct-2012 guenther

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@


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE
# 1.11 29-May-2007 jason

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


# 1.10 05-May-2007 drahn

Provide hook so that rthreads can provide a spinlock to protect from races
in lazy binding. ok art@, kurt@


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.9 11-Aug-2004 drahn

add dladdr() support and add some 'standard' dlsym() support.
ok millert miod pval, grumble deraadt


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE
# 1.8 02-Sep-2003 drahn

Add defines for missing RTLD_, eg RTLD_GLOBAL and RTLD_LOCAL,
values for RTLD_GLOBAL and RTLD_LOCAL are same as solaris uses.


# 1.7 25-Apr-2003 marc

Add DL_SETTHREADLCK. "pretty obviously safe i think" teddu@


Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.6 02-Jun-2002 deraadt

withough -> without


Revision tags: OPENBSD_3_1_BASE
# 1.5 16-Feb-2002 millert

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.


Revision tags: OPENBSD_3_0_BASE
# 1.4 31-May-2001 art

correct prototype for dlerror.


Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE
# 1.3 09-Dec-1999 espie

dlopen and dlsym take const char * parameters.
Fix prototypes, propagate const where applicable.


Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE
# 1.2 21-Sep-1997 niklas

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.


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision