diff --git a/man8/ld.so.8 b/man8/ld.so.8 index 5a0226ddf..ce63c4c46 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)