mirror of https://github.com/mkerrisk/man-pages
setreuid.2: Add EAGAIN error for hitting RLIMIT_NPROC limit
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
7a42bf02f7
commit
4b3beb4932
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue