[PATCH] Error checking for SETXID (bug 13347)

Florian Weimer fweimer@redhat.com
Mon Mar 24 14:53:00 GMT 2014


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.

-- 
Florian Weimer / Red Hat Product Security Team
-------------- next part --------------
A non-text attachment was scrubbed...
Name: setxid-error-check.patch
Type: text/x-patch
Size: 6776 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20140324/09b38ba4/attachment.bin>


More information about the Libc-alpha mailing list