aboutsummaryrefslogtreecommitdiffstats
path: root/man2
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-06-26 20:31:46 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-09-12 14:04:45 +0100
commite31d1beb762a274c8cc06f2edeebb708f9439a8f (patch)
tree95d1d1c3c3694ce6650494e2a4ad70a3f9140906 /man2
parent2ff964df8f5f35811525f1c0cf76bcff43bbcb54 (diff)
downloadman-pages-e31d1beb762a274c8cc06f2edeebb708f9439a8f.tar.gz
getgroups.2: Note user namespace requirements for CAP_SETGID
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man2')
-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