setresuid.2: Since Linux 3.1, the EAGAIN case for RLIMIT_NPROC no longer occurs

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-05-14 14:03:19 +02:00
parent 25b2ea5fd6
commit 19d889b39a
1 changed files with 6 additions and 0 deletions

View File

@ -83,6 +83,12 @@ bring the number of processes belonging to the real user ID
over the caller's
.B RLIMIT_NPROC
resource limit.
Since Linux 3.1, this error case no longer occurs
(but robust applications should check for this error);
see the description of
.B EAGAIN
in
.BR execve (2).
.TP
.B EPERM
The calling process is not privileged (did not have the \fBCAP_SETUID\fP