ld.so.8: Document LD_AUDIT

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Petr Baudis 2009-01-12 19:10:46 +13:00 committed by Michael Kerrisk
parent 08f8825735
commit 54eb262054
1 changed files with 24 additions and 8 deletions

View File

@ -1,5 +1,5 @@
.\" This is in the public domain
.TH LD.SO 8 2008-10-27 "GNU" "Linux Programmer's Manual"
.TH LD.SO 8 2008-01-12 "GNU" "Linux Programmer's Manual"
.SH NAME
ld.so, ld-linux.so* \- dynamic linker/loader
.SH SYNOPSIS
@ -177,13 +177,29 @@ Version of
for a.out binaries only.
Old versions of ld\-linux.so.1 also supported
.BR LD_ELF_PRELOAD .
.\" FIXME
.\" Document LD_AUDIT ("Install audit libraries for glibc")
.\" new in glibc 2.4
.\" ignored in set-user-ID and set-group-ID programs
.\"
.\" For some info, see Solaris Linker and Libraries Guide,
.\" "Runtime Linker Auditing Interface"
.TP
.B LD_AUDIT
(glibc since 2.4)
A colon-separated list of user-specified, ELF shared objects
to be loaded before all others in a separate linker namespace
(i.e., one that does not intrude upon the normal symbol bindings that
would occur in the process).
These libraries can be used to audit the operation of the dynamic linker.
.B LD_AUDIT
is ignored for set-user-ID/set-group-ID binaries.
The dynamic linker will notify the audit
libraries at so-called auditing checkpoints\(emfor example,
loading a new library, resolving a symbol,
or calling a symbol from another shared object\(emby
calling an appropriate function within the audit library.
For details, see
.BR rtld-audit (7).
The auditing interface is largely compatible with that provided on Solaris,
as described in its
.IR "Linker and Libraries Guide" ,
in the chapter
.IR "Runtime Linker Auditing Interface" .
.TP
.B LD_BIND_NOT
(glibc since 2.1.95)