aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-09-12 15:11:29 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-09-12 16:54:36 +0100
commit6f22721ecb5b7e8fc53a5888744c6105e7a32c9c (patch)
tree1425aecdb64eabc18ee4d84c4e5fb83ce6605b52
parent52f2c8fb7e0faa31939aa9c18163871f53a33195 (diff)
downloadman-pages-6f22721ecb5b7e8fc53a5888744c6105e7a32c9c.tar.gz
setgid.2: Note user namespace requirements for CAP_SETGID
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/setgid.23
1 files changed, 2 insertions, 1 deletions
diff --git a/man2/setgid.2 b/man2/setgid.2
index 1c0dd9833c..a0e07fa220 100644
--- a/man2/setgid.2
+++ b/man2/setgid.2
@@ -41,7 +41,8 @@ setgid \- set group identity
sets the effective group ID of the calling process.
If the calling process is privileged (has the
.B CAP_SETGID
-capability), the real GID and saved set-group-ID are also set.
+capability in its user namespace),
+the real GID and saved set-group-ID are also set.
Under Linux,
.BR setgid ()