From 42dbaa321107e4d0cfa4d2eaedbae27db0de7a18 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 27 Oct 2008 16:02:18 -0500 Subject: [PATCH] ld.so.8: Since glibc 2.4, setuid/setgid programs ignore LD_ORIGIN_PATH 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 db4600fa2..1c6f34178 100644 --- a/man8/ld.so.8 +++ b/man8/ld.so.8 @@ -248,6 +248,9 @@ Mask for hardware capabilities. .B LD_ORIGIN_PATH (glibc since 2.1) Path where the binary is found (for non-set-user-ID programs). +For security reasons, since glibc 2.4, +.B LD_ORIGIN_PATH +is ignored for set-user-ID/set-group-ID binaries. .TP .B LD_DYNAMIC_WEAK (glibc since 2.1.91)