]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
ld.so.8: Expand description of /etc/ld.so.preload
authorMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 3 May 2017 05:09:56 +0000 (07:09 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 3 May 2017 05:09:56 +0000 (07:09 +0200)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man8/ld.so.8

index bb65b4baae9b592997b2a1e6e001ec896e30d5ab..60581b507356bb82fb231f5df841d33d1361b457 100644 (file)
@@ -589,6 +589,23 @@ shared objects and an ordered list of candidate shared objects.
 .I /etc/ld.so.preload
 File containing a whitespace-separated list of ELF shared objects to
 be loaded before the program.
+See the discussion of
+.BR LD_PRELOAD
+above.
+If both
+.BR LD_PRELOAD
+and
+.I /etc/ld.so.preload
+are employed, the libraries specified by
+.BR LD_PRELOAD
+are preloaded first.
+.I /etc/ld.so.preload
+has a system-wide effect,
+causing the specified libraries to be preloaded for
+all programs that are executed on the system.
+(This is usually undesirable,
+and is typically employed only as an emergency remedy, for example,
+as a temporary workaround to a library misconfiguration issue.)
 .TP
 .B lib*.so*
 shared objects