[PATCH] Error checking for SETXID (bug 13347)

Mike Frysinger vapier@gentoo.org
Fri Mar 28 22:33:00 GMT 2014


On Mon 24 Mar 2014 15:30:30 Florian Weimer wrote:
> Check for syscall error in the SETXID implementation in NPTL (bug 13347).
> 
> At this point, we can only abort the process because we have already
> switched credentials on other threads.  Returning an error would still
> leave the process in an inconsistent state.
> 
> The new xtest needs root privileges to run.

patch looks OK to me.  improving the kernel layer is an independent issue.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20140328/924677a1/attachment.sig>


More information about the Libc-alpha mailing list