setresuid.2: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-09-12 14:23:02 +01:00
parent 02a0d14238
commit 0e332aef5f
1 changed files with 3 additions and 4 deletions

View File

@ -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.