This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug dynamic-link/18251] SONAME missing when audit modules provides path
- From: "drepper.fsp at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Sun, 12 Apr 2015 13:05:03 +0000
- Subject: [Bug dynamic-link/18251] SONAME missing when audit modules provides path
- Auto-submitted: auto-generated
- References: <bug-18251-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=18251
Ulrich Drepper <drepper.fsp at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #8240|0 |1
is obsolete| |
--- Comment #1 from Ulrich Drepper <drepper.fsp at gmail dot com> ---
Created attachment 8243
--> https://sourceware.org/bugzilla/attachment.cgi?id=8243&action=edit
Corrected patch and test
The original patch wasn't complete. It did not take into account that instead
of the SONAME another name (the full path name, for instance) is used. This
requires a more complete handling.
The patch now keeps track of the original name. If an audit module overwrites
the name, the original name is also added to the name list. The impact is
minimal.
I did not optimize out the additional parameter to _dl_map_object_from_fd in
case of static linking. It's not needed, the code checks that it's always
NULL. Removing the parameter would mean uglifying the code a lot. Ideally the
compiler will clone the function (it should be local after all) and in the
clone remove the unnecessary parameter.
--
You are receiving this mail because:
You are on the CC list for the bug.