This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/9733] Multiple dynamic linker (RTLD) audit libraries fails


------- Additional Comments From mtk dot manpages at gmail dot com  2009-01-12 05:02 -------
By contrast, using a version of my audit.c library twice in a colon-separated
library on Solaris 8 does what I would expect (i.e., the audit functions are
called twice, once for each item listed in LD_AUDIT):

$ gcc -g -shared -fPIC -o audit.so audit.c
$ LD_AUDIT=./audit.so:./audit.so /bin/date
la_version(): 2
la_objopen(): loading "/bin/date"; cookie=ff3712f0
la_objopen(): loading "/bin/date"; cookie=ff3712fc
la_objopen()
la_objopen()
la_activity(): LA_ACT_ADD; cookie = ff3712f0
la_activity(): LA_ACT_ADD; cookie = ff3712f0
la_objsearch(): libc.so.1; ff3712f0; 1
la_objsearch(): libc.so.1; ff3712f0; 1
la_objsearch(): /usr/lib/libc.so.1; ff3712f0; 40
la_objsearch(): /usr/lib/libc.so.1; ff3712f0; 40
la_objopen(): loading "/usr/lib/libc.so.1"; cookie=ff3716d4
la_objopen(): loading "/usr/lib/libc.so.1"; cookie=ff3716e0
la_objsearch(): libdl.so.1; ff3716d4; 1
la_objsearch(): libdl.so.1; ff3716d4; 1
la_objsearch(): /usr/lib/libdl.so.1; ff3716d4; 40
la_objsearch(): /usr/lib/libdl.so.1; ff3716d4; 40
la_objopen(): loading "/usr/lib/libdl.so.1"; cookie=ff371a1c
la_objopen(): loading "/usr/lib/libdl.so.1"; cookie=ff371a28
[...]

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=9733

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]