From 8c629c498f81608aad1ef37221820ea1d0d2fcee Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 30 Mar 2009 07:48:15 +1300 Subject: [PATCH] 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 --- man7/rtld-audit.7 | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/man7/rtld-audit.7 b/man7/rtld-audit.7 index 2e894ef70..6e1bece40 100644 --- a/man7/rtld-audit.7 +++ b/man7/rtld-audit.7 @@ -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),