This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/6610] New: NSS modules should be dlopen()ed with RTLD_DEEPBIND
- From: "pasky at suse dot cz" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 9 Jun 2008 18:33:38 -0000
- Subject: [Bug libc/6610] New: NSS modules should be dlopen()ed with RTLD_DEEPBIND
- Reply-to: sourceware-bugzilla at sourceware dot org
nss/nsswitch.c should dlopen() the NSS modules with RTLD_DEEPBIND so that the
application symbols will not interfere with symbols the NSS module is using.
A practical example (pointed out by Michael Meeks) is nss_ldap + Thunderbird
failing, since both use incompatible LDAP libraries with some symbols clashing;
nss_ldap will use the Thunderbird LDAP library symbols in preference to these of
its own library, resulting in a crash. Deepbinding should solve this problem,
and I can think of no bad side-effects (in sane situations).
--
Summary: NSS modules should be dlopen()ed with RTLD_DEEPBIND
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: pasky at suse dot cz
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=6610
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.