tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: fixing libpthread noload, another approach



On Sun, Feb 03, 2013 at 07:28:14AM +0100, Emmanuel Dreyfus wrote:
> Here is the patch that implement the thing:
> http://ftp.espci.fr/shadow/manu/dlopen.patch

Improved version:
> http://ftp.espci.fr/shadow/manu/dlopen2.patch
- rename ignored objects into noload objects
- keep track of how many objects we need to unload. 
- do not walk the object lists if there is nothing to unload
- assert that unloaded objects have been unloaded
- when invoking a symbol from a NOLOAD object, attempt to use syslog

-- 
Emmanuel Dreyfus
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index