Check for syscall error in the SETXID implementation in NPTL (bug 13347).
authorFlorian Weimer <fweimer@redhat.com>
Mon, 24 Mar 2014 14:24:02 +0000 (15:24 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 1 Apr 2014 08:29:56 +0000 (10:29 +0200)
commit13f7fe35ae2b0ea55dc4b9628763aafdc8bdc30c
tree795c9d70e0d45f280c06e36e89d350dd3fbf8161
parentc859b32e9d76afe8a3f20bb9528961a573c06937
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.
ChangeLog
nptl/Makefile
nptl/nptl-init.c
nptl/tst-setuid2.c [new file with mode: 0644]