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