shared library loading flags

Artur Artamonov <[email protected]> Thu, 6 Dec 2012 21:23:55 +0200
Newsgroups gmane.linux.pam
Message-ID <20121206212355.64bf7092@Burgetr>
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?