Different than specified, glibc 2.2.5 does not ignore LD_PROFILE in secure-execution mode. Instead, it uses the default LD_PROFILE_OUTPUT (/var/profile) folder. Signed-off-by: Adhemerval Zanella <adhemerval.zanella@xxxxxxxxxx> --- man8/ld.so.8 | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/man8/ld.so.8 b/man8/ld.so.8 index d4eb27a70..cf03cb85e 100644 --- a/man8/ld.so.8 +++ b/man8/ld.so.8 @@ -687,7 +687,7 @@ Profiling output is appended to the file whose name is: .IP Since glibc 2.2.5, .B LD_PROFILE -is ignored in secure-execution mode. +uses a different default path in secure-execution mode. .TP .BR LD_PROFILE_OUTPUT " (since glibc 2.1)" Directory where @@ -701,10 +701,6 @@ then the default is is ignored in secure-execution mode; instead .I /var/profile is always used. -(This detail is relevant only before glibc 2.2.5, -since in later glibc versions, -.B LD_PROFILE -is also ignored in secure-execution mode.) .TP .BR LD_SHOW_AUXV " (since glibc 2.1)" If this environment variable is defined (with any value), -- 2.34.1