mirror of https://github.com/mkerrisk/man-pages
setuid.2: Clarify that setuid() changes all UIDs when caller has CAP_SETUID
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
4e701e41a5
commit
599226abb6
|
@ -39,7 +39,10 @@ setuid \- set user identity
|
|||
.SH DESCRIPTION
|
||||
.BR setuid ()
|
||||
sets the effective user ID of the calling process.
|
||||
If the effective UID of the caller is root,
|
||||
If the effective UID of the caller is root
|
||||
(more precisely: if the caller has the
|
||||
.BR CAP_SETUID
|
||||
capability),
|
||||
the real UID and saved set-user-ID are also set.
|
||||
.PP
|
||||
Under Linux,
|
||||
|
|
Loading…
Reference in New Issue