Changing back to per-thread credentials on Linux (fixing native AIO).
jra at samba.org
Sun Jul 1 16:34:09 MDT 2012
On Sun, Jul 01, 2012 at 08:38:13PM +0200, Volker Lendecke wrote:
> Sorry, I just don't trust the glibc folks on this. They used
> to have a syscall() function that returned -errno. This
> would have made syscalls portably useable in an environment
> using clone() without thread local storage (per-thread
> errno). They deliberately removed this facility, completely
> crippling clone(). If they feel like it, they will start
> intercepting syscall() for the setuid-like values. We would
> not even notice before it is too late. Before this aspect is
> not officially blessed by the glibc maintainers, I would
> rather limit this to a very well-audited set of precise
> glibc versions.
> Can you get this official blessing in some way?
Sure, we can ask the glibc maintainers for their
opinions on this, that is a good idea !
More information about the samba-technical