aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man2/getgroups.210
1 files changed, 5 insertions, 5 deletions
diff --git a/man2/getgroups.2 b/man2/getgroups.2
index 7216f59620..974265d4f8 100644
--- a/man2/getgroups.2
+++ b/man2/getgroups.2
@@ -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