always load plugins with RTLD_LOCAL/RTLD_GROUP if available
This commit is contained in:

committed by
Nico Williams

parent
803efebca5
commit
befe1b8f90
@@ -314,14 +314,6 @@ _gss_load_mech(void)
|
||||
if (found)
|
||||
continue;
|
||||
|
||||
#ifndef RTLD_LOCAL
|
||||
#define RTLD_LOCAL 0
|
||||
#endif
|
||||
|
||||
#ifndef RTLD_GROUP
|
||||
#define RTLD_GROUP 0
|
||||
#endif
|
||||
|
||||
so = dlopen(lib, RTLD_LAZY | RTLD_LOCAL | RTLD_GROUP);
|
||||
if (so == NULL) {
|
||||
/* fprintf(stderr, "dlopen: %s\n", dlerror()); */
|
||||
|
Reference in New Issue
Block a user