ld.so.8: Since glibc 2.2.5, LD_PROFILE is ignored in secure-execution mode

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-05-08 14:46:16 +02:00
parent 578616fa6e
commit 24dc407aed
1 changed files with 8 additions and 0 deletions

View File

@ -501,6 +501,10 @@ The name of a (single) shared object to be profiled,
specified either as a pathname or a soname.
Profiling output is appended to the file whose name is:
"\fI$LD_PROFILE_OUTPUT\fP/\fI$LD_PROFILE\fP.profile".
Since glibc 2.2.5,
.BR LD_PROFILE
is ignored in secure execution mode.
.TP
.BR LD_PROFILE_OUTPUT " (since glibc 2.1)"
Directory where
@ -514,6 +518,10 @@ then the default is
is ignored in secure-execution mode; instead
.IR /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),