rethinking RTLD_NOW for loading plug-in modules
Nicolas Williams
Nicolas.Williams at sun.com
Wed May 2 00:47:58 EDT 2007
On Wed, May 02, 2007 at 12:37:39AM -0400, Tom Yu wrote:
> Of course, we should always build our provided plug-in modules using
> "-zdefs" or equivalent, so they cannot have unresolved references.
Definitely.
> I'm not sure whether we want to use RTLD_NOW as a defense against
> third-party modules having unresolved references. It ends up being a
> performance tradeoff against other people's readily avoidable errors.
You could look for unresolved references at plug-in "install" or
registration time, rather than at plug-in load time.
Don't use RTLD_NOW.
More information about the krbdev
mailing list