ld.so.8: Fix description of LD_PROFILE and LD_PROFILE_OUTPUT

Clarify that LD_PROFILE is pathname or a soname,
and identify name of profiling output file.

Fix description of LD_PROFILE_OUTPUT, which wasn't even close to
the truth.  (But why did it remain unfixed for so many years?)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2008-10-27 20:02:28 -05:00
parent 21841251d2
commit 8a7f3759b3
1 changed files with 12 additions and 4 deletions

View File

@ -240,15 +240,23 @@ is ignored for set-user-ID/set-group-ID binaries.
.TP
.B LD_PROFILE
(glibc since 2.1)
Shared object to be profiled.
Shared object to be profiled,
specified either as a pathname or a soname.
Profiling output is written to the file whose name is:
"\fI$LD_PROFILE_OUTPUT\fP/\fI$LD_PROFILE\fP.profile".
.TP
.B LD_PROFILE_OUTPUT
(glibc since 2.1)
File where
Directory where
.B LD_PROFILE
output should be written; default is standard output.
output should be written.
If this variable is not defined, or is defined as an empty string,
then the default is
.IR /var/tmp .
.B LD_PROFILE_OUTPUT
is ignored for set-user-ID/set-group-ID binaries.
is ignored for set-user-ID and set-group-ID programs,
which always use
.IR /var/profile .
.TP
.B LD_SHOW_AUXV
(glibc since 2.1)