From eb58a74c8c198c8bc1525d9c278ad3fb70c617c6 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sun, 26 Aug 2012 23:08:59 +0200 Subject: [PATCH] ld.so.8: Add some details for LD_PRELOAD Signed-off-by: Michael Kerrisk --- man8/ld.so.8 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/man8/ld.so.8 b/man8/ld.so.8 index 1bfa55b88..0e53f5293 100644 --- a/man8/ld.so.8 +++ b/man8/ld.so.8 @@ -197,9 +197,11 @@ A list of additional, user-specified, ELF shared libraries to be loaded before all others. The items of the list can be separated by spaces or colons. This can be used to selectively override functions in other shared libraries. +The libraries are searched for using the rules given under DESCRIPTION. For set-user-ID/set-group-ID ELF binaries, -only libraries in the standard search -directories that are also set-user-ID will be loaded. +preload pathnames containing slashes are ignored, +and libraries in the standard search directories are loaded +only if the set-user-ID permission bit is enabled on the library file. .TP .B LD_TRACE_LOADED_OBJECTS (ELF only)