aboutsummaryrefslogtreecommitdiffstats
path: root/man8
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2008-10-27 20:02:28 -0500
committerMichael Kerrisk <mtk.manpages@gmail.com>2008-10-29 14:54:21 -0500
commit8a7f3759b37785fa72113e7f3849133ace32778d (patch)
tree149f2be315934c04f50034859fc753cddcdc3b47 /man8
parent21841251d25347bf7e4608ddcb84d037c1b18dfa (diff)
downloadman-pages-8a7f3759b37785fa72113e7f3849133ace32778d.tar.gz
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>
Diffstat (limited to 'man8')
-rw-r--r--man8/ld.so.816
1 files changed, 12 insertions, 4 deletions
diff --git a/man8/ld.so.8 b/man8/ld.so.8
index 5a0226ddfd..ce63c4c46a 100644
--- a/man8/ld.so.8
+++ b/man8/ld.so.8
@@ -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)