[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

shared library loading flags



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?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]