From 914c7b31c991a25855f6f6c7335c52dbb97558c9 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 27 Oct 2008 15:58:16 -0500 Subject: [PATCH] ld.so.8: Since glibc 2.3.4, setuid/setgid programs ignore LD_DYNAMIC_WEAK Signed-off-by: Michael Kerrisk --- man8/ld.so.8 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/man8/ld.so.8 b/man8/ld.so.8 index 41e78c042..db4600fa2 100644 --- a/man8/ld.so.8 +++ b/man8/ld.so.8 @@ -252,6 +252,9 @@ Path where the binary is found (for non-set-user-ID programs). .B LD_DYNAMIC_WEAK (glibc since 2.1.91) Allow weak symbols to be overridden (reverting to old glibc behavior). +For security reasons, since glibc 2.3.4, +.B LD_DYNAMIC_WEAK +is ignored for set-user-ID/set-group-ID binaries. .TP .B LD_KEEPDIR (a.out only)(libc5)