patch #4 (Re: patch #3 (Re: The time has come for a kernel interfacing library layer))

Joerg Sonnenberger joerg at
Thu May 12 10:51:54 PDT 2005

On Thu, May 12, 2005 at 10:43:41AM -0700, Matthew Dillon wrote:
> :Yes, but they point to an errno which is not RTLD's errno.
> :
> :Joerg
>     I don't think this would matter.  It's in-context.  All the RTLD would
>     need to do is save and restore errno in the TLS address lookup code.

It's a different *address*. We would have to reinvent something like
__error to access the errno via TCB for RTLD, we would have to handle
the initial processing and later calls into RTLD different. That adds
a whole can of worms. I don't think this is justified at all.


More information about the Kernel mailing list