getgroups.2: ERRORS: add EPERM for the case where /proc/PID/setgroups is "deny"

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-02-02 13:26:15 +01:00
parent 925b92395b
commit c06e4b9664
1 changed files with 9 additions and 0 deletions

View File

@ -133,6 +133,15 @@ The calling process has insufficient privilege
(it does not have the
.BR CAP_SETGID
capability).
.TP
.B EPERM
The use of
.BR setgroups ()
is denied in this user namespace.
See the description of
.IR /proc/[pid]/setgroups
in
.BR proc (5).
.SH CONFORMING TO
SVr4, 4.3BSD.
The