From 0fbec9a54e28c579734a751f3f37447de4f2150e Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 1 Feb 1998 14:54:40 +0000 Subject: [PATCH] (dl_main): Allow ":" as separator for LD_PRELOAD. --- elf/rtld.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/elf/rtld.c b/elf/rtld.c index bb384ad57dd..e2b7e0fd158 100644 --- a/elf/rtld.c +++ b/elf/rtld.c @@ -348,8 +348,8 @@ of this helper program; chances are you did not intend to run this program.\n", preloadlist = getenv ("LD_PRELOAD"); if (preloadlist) { - /* The LD_PRELOAD environment variable gives a white space - separated list of libraries that are loaded before the + /* The LD_PRELOAD environment variable gives list of libraries + separated by white space or colons that are loaded before the executable's dependencies and prepended to the global scope list. If the binary is running setuid all elements containing a '/' are ignored since it is insecure. */ -- 2.47.2