shared library loading flags

Artur Artamonov freeartman at wechall.net
Thu Dec 6 19:23:55 UTC 2012


Is there some specific explanations why modules is loaded with flags
RTLD_NOW?

pam_dynamic.c:67:       return dlopen(mod_path, RTLD_NOW);

There was issue when i was using myown PAM module that uses others
shared libraries. I was calling this module from dropbear and there
allways was some unresolved symbols from shared librarires after i added
flag RTLD_GLOBAL 

pam_dynamic.c:67:       return dlopen(mod_path, RTLD_NOW|RTLD_GLOBAL);


Is there possible that this flag will added in next LinuxPAM realise?




More information about the Pam-list mailing list