uwrap: Attempt to dlopen libc.so.*.1 as a fallback.
authorMatt Turner <mattst88@gmail.com>
Tue, 5 Apr 2016 20:41:13 +0000 (13:41 -0700)
committerAndreas Schneider <asn@samba.org>
Thu, 2 Jun 2016 13:58:48 +0000 (15:58 +0200)
commita00a6b8b300b7baa867191e2bc016b835cf8d1b3
treea8aa57ccae2fd1eca29936ce0b6ffcb49776a027
parent2bd91fc2049d88612260f083cd604112bec4c83b
uwrap: Attempt to dlopen libc.so.*.1 as a fallback.

glibc on Alpha and IA64 is libc.so.6.1.

Without this, uwrap.libc.handle is set to RTLD_NEXT, leading to a
segmentation fault in the unit tests when dlclose() is called.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11821

Signed-off-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
src/uid_wrapper.c