libc/1818: pthread problem with dlcose()
H . J . Lu
hjl@lucon.org
Tue Jul 18 17:22:00 GMT 2000
On Wed, Jul 19, 2000 at 02:07:42AM +0200, Mark Kettenis wrote:
> Isn't it possible to let libpthread, if it's dlopen()'ed (or loaded as
> a dependency of a dlopen()'ed object) modify the link map such that it
> appears as a dependency of the main executable?
>
Can ld.so export a special internal function which tells ld.so not to
unload it? libpthread can call it during init so that it won't get
unloaded by dlclose ().
H.J.
More information about the Libc-hacker
mailing list