[prev in list] [next in list] [prev in thread] [next in thread] 

List:       krbdev
Subject:    Re: rethinking RTLD_NOW for loading plug-in modules
From:       Nicolas Williams <Nicolas.Williams () sun ! com>
Date:       2007-05-02 4:47:58
Message-ID: 20070502044757.GR21027 () Sun ! COM
[Download RAW message or body]

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.
_______________________________________________
krbdev mailing list             krbdev@mit.edu
https://mailman.mit.edu/mailman/listinfo/krbdev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic