From 0e332aef5fac0346fae7f42e909e98cfbe2d46e5 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 12 Sep 2016 14:23:02 +0100 Subject: [PATCH] setresuid.2: wfix Signed-off-by: Michael Kerrisk --- man2/setresuid.2 | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/man2/setresuid.2 b/man2/setresuid.2 index 27903859b..b54c140b2 100644 --- a/man2/setresuid.2 +++ b/man2/setresuid.2 @@ -40,14 +40,13 @@ setresuid, setresgid \- set real, effective and saved user or group ID sets the real user ID, the effective user ID, and the saved set-user-ID of the calling process. -Unprivileged user processes -may change the real UID, +An unprivileged process may change its real UID, effective UID, and saved set-user-ID, each to one of: the current real UID, the current effective UID or the current saved set-user-ID. -Privileged processes (on Linux, those having the \fBCAP_SETUID\fP capability) -may set the real UID, effective UID, and +A privileged process (on Linux, one having the \fBCAP_SETUID\fP capability) +may set its real UID, effective UID, and saved set-user-ID to arbitrary values. If one of the arguments equals \-1, the corresponding value is not changed.