From c06e4b966420cf5b9ba8b95b52fab7b1e20ec00e Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 2 Feb 2015 13:26:15 +0100 Subject: [PATCH] getgroups.2: ERRORS: add EPERM for the case where /proc/PID/setgroups is "deny" Signed-off-by: Michael Kerrisk --- man2/getgroups.2 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/man2/getgroups.2 b/man2/getgroups.2 index ecf575c11..89501bfdf 100644 --- a/man2/getgroups.2 +++ b/man2/getgroups.2 @@ -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