setreuid.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:04:05 +02:00
parent 19d889b39a
commit c2cb87b649
1 changed files with 6 additions and 0 deletions

View File

@ -112,6 +112,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