History log of /openbsd-current/libexec/ld.so/ld.so.1
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.25 14-Jun-2022 kn

Document search order

Explain when and how LD_LIBRARY_PATH, DT_RUNPATH and DT_RPATH are used.

Input OK guenther


Revision tags: OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE
# 1.24 08-May-2020 jca

LD_DEBUG is ignored for set-user-ID and set-group-ID executables

from Miod


Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE
# 1.23 14-Feb-2019 jmc

spelling/consistency fix; from nam nguyen


Revision tags: OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE
# 1.22 04-Jul-2016 guenther

Remove prebind support: binding to symbol table indices is too fragile
for our development process.

ok kettenis@ deraadt@


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE
# 1.21 22-Feb-2014 guenther

Delete descriptions of env variables that we don't actually support.
They all sound like bad ideas anyway.

ok matthew@ deraadt@


# 1.20 23-Jan-2014 deraadt

Remove LD_NORANDOM feature. It serves no usable purpose. Determinism
in this one specific area is not going to help debugging, because so
many other parts are non-deterministic.
ok guenthre matthew jsing


Revision tags: OPENBSD_5_4_BASE
# 1.19 10-Jul-2013 jmc

no more link(5). either remove references entirely, or point folks
to elf(5) instead;

ok miod


Revision tags: OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.18 03-Dec-2011 schwarze

Remove an OpenBSD-specific tweak regarding .Xr spacing
and make it compatible with bsd.lv mandoc and with groff-1.21.
This tweak was originally added for compatibility with groff-1.15,
which is no longer needed.

ok jmc@ kristaps@


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE
# 1.17 24-Aug-2008 martynas

prepends, not overrides default search path. with/ok kurt@


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.16 31-May-2007 jmc

convert to new .Dd format;


# 1.15 27-May-2007 jmc

document differences between LD_TRACE_LOADED_OBJECTS_FMT1 and
LD_TRACE_LOADED_OBJECTS_FMT2;

based on a diff from Michel Lavondes;
help/ok drahn


# 1.14 04-Apr-2007 jmc

properly escape "%O"; ok jason


# 1.13 03-Apr-2007 jason

s/library/object for the format string stuff


# 1.12 03-Apr-2007 jason

add support for LD_TRACE_LOADED_OBJECTS_{FMT1/FMT2/PROGNAME}. Functionality
matches and expands on the old a.out ld.so formatting. ok drahn


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.11 22-Jun-2006 mk

These two env vars don't have a `=' in their name.

ok jmc


# 1.10 04-May-2006 drahn

Fix wordo, pointed out by jmc@


# 1.9 03-May-2006 drahn

prebind - how to prelink a binary without throwing security out the window

Prelink fixes the address of libraries making 'return to libc' attacks trival,
prebind uses a different method to achieve most of the same gains, however
without adding any security conerns.

Still under development, now in-tree.


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE
# 1.8 16-Aug-2005 tom

Missing .Pp in -compact list

ok jmc@


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE
# 1.7 30-Aug-2004 espie

minimal documentation for LD_DEBUG.
okay millert@, miod@


Revision tags: OPENBSD_3_5_BASE
# 1.6 17-Oct-2003 jmc

double `the the';


# 1.5 26-Sep-2003 jmc

- smaller list width
- <> -> .Aq
- macro cleanup
- also kills a (new) groff warning


Revision tags: OPENBSD_3_4_BASE
# 1.4 04-Sep-2003 jmc

- document LD_BIND_NOW
- new sentence, new line
- comment out comments

patch from (and ok) drahn@


# 1.3 04-Aug-2003 fgsch

document LD_NORANDOM; input and ok from several ppl.


# 1.2 09-Jul-2003 jmc

- simplify some macros
- fix a list

ok drahn@


# 1.1 27-Jun-2003 deraadt

put it in section 1


# 1.24 08-May-2020 jca

LD_DEBUG is ignored for set-user-ID and set-group-ID executables

from Miod


Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE
# 1.23 14-Feb-2019 jmc

spelling/consistency fix; from nam nguyen


Revision tags: OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE
# 1.22 04-Jul-2016 guenther

Remove prebind support: binding to symbol table indices is too fragile
for our development process.

ok kettenis@ deraadt@


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE
# 1.21 22-Feb-2014 guenther

Delete descriptions of env variables that we don't actually support.
They all sound like bad ideas anyway.

ok matthew@ deraadt@


# 1.20 23-Jan-2014 deraadt

Remove LD_NORANDOM feature. It serves no usable purpose. Determinism
in this one specific area is not going to help debugging, because so
many other parts are non-deterministic.
ok guenthre matthew jsing


Revision tags: OPENBSD_5_4_BASE
# 1.19 10-Jul-2013 jmc

no more link(5). either remove references entirely, or point folks
to elf(5) instead;

ok miod


Revision tags: OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.18 03-Dec-2011 schwarze

Remove an OpenBSD-specific tweak regarding .Xr spacing
and make it compatible with bsd.lv mandoc and with groff-1.21.
This tweak was originally added for compatibility with groff-1.15,
which is no longer needed.

ok jmc@ kristaps@


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE
# 1.17 24-Aug-2008 martynas

prepends, not overrides default search path. with/ok kurt@


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.16 31-May-2007 jmc

convert to new .Dd format;


# 1.15 27-May-2007 jmc

document differences between LD_TRACE_LOADED_OBJECTS_FMT1 and
LD_TRACE_LOADED_OBJECTS_FMT2;

based on a diff from Michel Lavondes;
help/ok drahn


# 1.14 04-Apr-2007 jmc

properly escape "%O"; ok jason


# 1.13 03-Apr-2007 jason

s/library/object for the format string stuff


# 1.12 03-Apr-2007 jason

add support for LD_TRACE_LOADED_OBJECTS_{FMT1/FMT2/PROGNAME}. Functionality
matches and expands on the old a.out ld.so formatting. ok drahn


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.11 22-Jun-2006 mk

These two env vars don't have a `=' in their name.

ok jmc


# 1.10 04-May-2006 drahn

Fix wordo, pointed out by jmc@


# 1.9 03-May-2006 drahn

prebind - how to prelink a binary without throwing security out the window

Prelink fixes the address of libraries making 'return to libc' attacks trival,
prebind uses a different method to achieve most of the same gains, however
without adding any security conerns.

Still under development, now in-tree.


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE
# 1.8 16-Aug-2005 tom

Missing .Pp in -compact list

ok jmc@


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE
# 1.7 30-Aug-2004 espie

minimal documentation for LD_DEBUG.
okay millert@, miod@


Revision tags: OPENBSD_3_5_BASE
# 1.6 17-Oct-2003 jmc

double `the the';


# 1.5 26-Sep-2003 jmc

- smaller list width
- <> -> .Aq
- macro cleanup
- also kills a (new) groff warning


Revision tags: OPENBSD_3_4_BASE
# 1.4 04-Sep-2003 jmc

- document LD_BIND_NOW
- new sentence, new line
- comment out comments

patch from (and ok) drahn@


# 1.3 04-Aug-2003 fgsch

document LD_NORANDOM; input and ok from several ppl.


# 1.2 09-Jul-2003 jmc

- simplify some macros
- fix a list

ok drahn@


# 1.1 27-Jun-2003 deraadt

put it in section 1


# 1.23 14-Feb-2019 jmc

spelling/consistency fix; from nam nguyen


Revision tags: OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE
# 1.22 04-Jul-2016 guenther

Remove prebind support: binding to symbol table indices is too fragile
for our development process.

ok kettenis@ deraadt@


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE
# 1.21 22-Feb-2014 guenther

Delete descriptions of env variables that we don't actually support.
They all sound like bad ideas anyway.

ok matthew@ deraadt@


# 1.20 23-Jan-2014 deraadt

Remove LD_NORANDOM feature. It serves no usable purpose. Determinism
in this one specific area is not going to help debugging, because so
many other parts are non-deterministic.
ok guenthre matthew jsing


Revision tags: OPENBSD_5_4_BASE
# 1.19 10-Jul-2013 jmc

no more link(5). either remove references entirely, or point folks
to elf(5) instead;

ok miod


Revision tags: OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.18 03-Dec-2011 schwarze

Remove an OpenBSD-specific tweak regarding .Xr spacing
and make it compatible with bsd.lv mandoc and with groff-1.21.
This tweak was originally added for compatibility with groff-1.15,
which is no longer needed.

ok jmc@ kristaps@


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE
# 1.17 24-Aug-2008 martynas

prepends, not overrides default search path. with/ok kurt@


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.16 31-May-2007 jmc

convert to new .Dd format;


# 1.15 27-May-2007 jmc

document differences between LD_TRACE_LOADED_OBJECTS_FMT1 and
LD_TRACE_LOADED_OBJECTS_FMT2;

based on a diff from Michel Lavondes;
help/ok drahn


# 1.14 04-Apr-2007 jmc

properly escape "%O"; ok jason


# 1.13 03-Apr-2007 jason

s/library/object for the format string stuff


# 1.12 03-Apr-2007 jason

add support for LD_TRACE_LOADED_OBJECTS_{FMT1/FMT2/PROGNAME}. Functionality
matches and expands on the old a.out ld.so formatting. ok drahn


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.11 22-Jun-2006 mk

These two env vars don't have a `=' in their name.

ok jmc


# 1.10 04-May-2006 drahn

Fix wordo, pointed out by jmc@


# 1.9 03-May-2006 drahn

prebind - how to prelink a binary without throwing security out the window

Prelink fixes the address of libraries making 'return to libc' attacks trival,
prebind uses a different method to achieve most of the same gains, however
without adding any security conerns.

Still under development, now in-tree.


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE
# 1.8 16-Aug-2005 tom

Missing .Pp in -compact list

ok jmc@


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE
# 1.7 30-Aug-2004 espie

minimal documentation for LD_DEBUG.
okay millert@, miod@


Revision tags: OPENBSD_3_5_BASE
# 1.6 17-Oct-2003 jmc

double `the the';


# 1.5 26-Sep-2003 jmc

- smaller list width
- <> -> .Aq
- macro cleanup
- also kills a (new) groff warning


Revision tags: OPENBSD_3_4_BASE
# 1.4 04-Sep-2003 jmc

- document LD_BIND_NOW
- new sentence, new line
- comment out comments

patch from (and ok) drahn@


# 1.3 04-Aug-2003 fgsch

document LD_NORANDOM; input and ok from several ppl.


# 1.2 09-Jul-2003 jmc

- simplify some macros
- fix a list

ok drahn@


# 1.1 27-Jun-2003 deraadt

put it in section 1


Revision tags: OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.22 04-Jul-2016 guenther

Remove prebind support: binding to symbol table indices is too fragile
for our development process.

ok kettenis@ deraadt@


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE
# 1.21 22-Feb-2014 guenther

Delete descriptions of env variables that we don't actually support.
They all sound like bad ideas anyway.

ok matthew@ deraadt@


# 1.20 23-Jan-2014 deraadt

Remove LD_NORANDOM feature. It serves no usable purpose. Determinism
in this one specific area is not going to help debugging, because so
many other parts are non-deterministic.
ok guenthre matthew jsing


Revision tags: OPENBSD_5_4_BASE
# 1.19 10-Jul-2013 jmc

no more link(5). either remove references entirely, or point folks
to elf(5) instead;

ok miod


Revision tags: OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.18 03-Dec-2011 schwarze

Remove an OpenBSD-specific tweak regarding .Xr spacing
and make it compatible with bsd.lv mandoc and with groff-1.21.
This tweak was originally added for compatibility with groff-1.15,
which is no longer needed.

ok jmc@ kristaps@


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE
# 1.17 24-Aug-2008 martynas

prepends, not overrides default search path. with/ok kurt@


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.16 31-May-2007 jmc

convert to new .Dd format;


# 1.15 27-May-2007 jmc

document differences between LD_TRACE_LOADED_OBJECTS_FMT1 and
LD_TRACE_LOADED_OBJECTS_FMT2;

based on a diff from Michel Lavondes;
help/ok drahn


# 1.14 04-Apr-2007 jmc

properly escape "%O"; ok jason


# 1.13 03-Apr-2007 jason

s/library/object for the format string stuff


# 1.12 03-Apr-2007 jason

add support for LD_TRACE_LOADED_OBJECTS_{FMT1/FMT2/PROGNAME}. Functionality
matches and expands on the old a.out ld.so formatting. ok drahn


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.11 22-Jun-2006 mk

These two env vars don't have a `=' in their name.

ok jmc


# 1.10 04-May-2006 drahn

Fix wordo, pointed out by jmc@


# 1.9 03-May-2006 drahn

prebind - how to prelink a binary without throwing security out the window

Prelink fixes the address of libraries making 'return to libc' attacks trival,
prebind uses a different method to achieve most of the same gains, however
without adding any security conerns.

Still under development, now in-tree.


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE
# 1.8 16-Aug-2005 tom

Missing .Pp in -compact list

ok jmc@


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE
# 1.7 30-Aug-2004 espie

minimal documentation for LD_DEBUG.
okay millert@, miod@


Revision tags: OPENBSD_3_5_BASE
# 1.6 17-Oct-2003 jmc

double `the the';


# 1.5 26-Sep-2003 jmc

- smaller list width
- <> -> .Aq
- macro cleanup
- also kills a (new) groff warning


Revision tags: OPENBSD_3_4_BASE
# 1.4 04-Sep-2003 jmc

- document LD_BIND_NOW
- new sentence, new line
- comment out comments

patch from (and ok) drahn@


# 1.3 04-Aug-2003 fgsch

document LD_NORANDOM; input and ok from several ppl.


# 1.2 09-Jul-2003 jmc

- simplify some macros
- fix a list

ok drahn@


# 1.1 27-Jun-2003 deraadt

put it in section 1