rtld-audit.7: Note that multiple libraries in LD_AUDIT doesn't work

This is reportedly fixed in glibc 2.10.
See http://sourceware.org/bugzilla/show_bug.cgi?id=9733

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2009-03-30 07:48:15 +13:00
parent 7a1a6b6a75
commit 8c629c498f
1 changed files with 11 additions and 5 deletions

View File

@ -23,7 +23,7 @@
.\"
.\" 2009-01-12, mtk, Created
.\"
.TH RTLD-AUDIT 7 2009-01-12 "Linux" "Linux Programmer's Manual"
.TH RTLD-AUDIT 7 2009-03-30 "Linux" "Linux Programmer's Manual"
.SH NAME
rtld-audit \- auditing API for the dynamic linker
.SH SYNOPSIS
@ -50,10 +50,6 @@ To employ the auditing interface, the environment variable
.BR LD_AUDIT
must be defined to contain a colon-separated list of shared libraries,
each of which can implement (parts of) the auditing API.
.\" FIXME Does specifying multiple audit libraries actually work
.\" on GNU? My simple tests on Solaris work okay, but not on
.\" Linux -- mtk, Jan 2009
.\" glibc bug filed: http://sourceware.org/bugzilla/show_bug.cgi?id=9733
When an auditable event occurs,
the corresponding function is invoked in each library,
in the order that the libraries are listed.
@ -591,6 +587,16 @@ la_i86_gnu_pltenter(Elf32_Sym *sym, unsigned int ndx,
return sym\->st_value;
}
.fi
.SH BUGS
In glibc versions up to and include 2.9,
specifying more than one audit library in
.B LD_AUDIT
results in a run-time crash.
This is reportedly fixed in glibc 2.10.
.\" FIXME Specifying multiple audit libraries doesn't work on GNU.
.\" My simple tests on Solaris work okay, but not on Linux -- mtk, Jan 2009
.\" glibc bug filed: http://sourceware.org/bugzilla/show_bug.cgi?id=9733
.\" Reportedly, this is fixed on 16 Mar 2009 (i.e., for glibc 2.10)
.SH "SEE ALSO"
.BR ldd (1),
.BR dlopen (3),