setuid.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:09 +02:00
parent c2cb87b649
commit c4fe0edf5c
1 changed files with 6 additions and 0 deletions

View File

@ -89,6 +89,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 user is not privileged (Linux: does not have the