setreuid.2: Add EAGAIN error for hitting RLIMIT_NPROC limit

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-05-14 12:59:56 +02:00
parent 7a42bf02f7
commit 4b3beb4932
1 changed files with 9 additions and 0 deletions

View File

@ -97,6 +97,15 @@ On error, \-1 is returned, and
is set appropriately.
.SH ERRORS
.TP
.B EAGAIN
.I ruid
does not match the caller's real UID and this call would
bring the number of processes belonging to the real user ID
.I ruid
over the caller's
.B RLIMIT_NPROC
resource limit.
.TP
.B EPERM
The calling process is not privileged
(Linux: does not have the