mirror of https://github.com/mkerrisk/man-pages
setgid.2: Clarify that setgid() changes all GIDs when caller has CAP_SETGID
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
599226abb6
commit
14c6baebf2
|
@ -38,8 +38,9 @@ setgid \- set group identity
|
|||
.SH DESCRIPTION
|
||||
.BR setgid ()
|
||||
sets the effective group ID of the calling process.
|
||||
If the caller is the
|
||||
superuser, the real GID and saved set-group-ID are also set.
|
||||
If the caller is privileged (has the
|
||||
CAP_SETGID
|
||||
capability), the real GID and saved set-group-ID are also set.
|
||||
|
||||
Under Linux,
|
||||
.BR setgid ()
|
||||
|
|
Loading…
Reference in New Issue