getgroups.2: Note user namespace requirements for CAP_SETGID

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-06-26 20:31:46 +02:00
parent 2ff964df8f
commit e31d1beb76
1 changed files with 5 additions and 5 deletions

View File

@ -85,9 +85,9 @@ to be used in a further call to
.PP .PP
.BR setgroups () .BR setgroups ()
sets the supplementary group IDs for the calling process. sets the supplementary group IDs for the calling process.
Appropriate privileges (Linux: the Appropriate privileges are required (see the description of the
.B CAP_SETGID .BR EPERM
capability) are required. error, below).
The The
.I size .I size
argument specifies the number of supplementary group IDs argument specifies the number of supplementary group IDs
@ -134,9 +134,9 @@ Out of memory.
.TP .TP
.B EPERM .B EPERM
The calling process has insufficient privilege The calling process has insufficient privilege
(it does not have the (the caller does not have the
.BR CAP_SETGID .BR CAP_SETGID
capability). capability in the user namespace in which it resides).
.TP .TP
.BR EPERM " (since Linux 3.19)" .BR EPERM " (since Linux 3.19)"
The use of The use of