From 19d889b39a1159cc240be2c260a48a61ef2d5fc8 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Wed, 14 May 2014 14:03:19 +0200 Subject: [PATCH] setresuid.2: Since Linux 3.1, the EAGAIN case for RLIMIT_NPROC no longer occurs Signed-off-by: Michael Kerrisk --- man2/setresuid.2 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/man2/setresuid.2 b/man2/setresuid.2 index 49cf0f5a1..e9d004273 100644 --- a/man2/setresuid.2 +++ b/man2/setresuid.2 @@ -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