aboutsummaryrefslogtreecommitdiffstats
path: root/man2
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-09-12 15:20:31 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-09-12 16:54:36 +0100
commit36a62e0379a89bbfa462af7284e3ebbe2b172ba4 (patch)
tree6351a53c72c6e6452fff5c4719822f179e0a759e /man2
parentfb03f4addc3f55a54d3ee12a9871bb8fcc6d93c5 (diff)
downloadman-pages-36a62e0379a89bbfa462af7284e3ebbe2b172ba4.tar.gz
setreuid.2: Note user namespace requirements for CAP_SETUID and CAP_SETGID
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man2')
-rw-r--r--man2/setreuid.28
1 files changed, 4 insertions, 4 deletions
diff --git a/man2/setreuid.2 b/man2/setreuid.2
index 31da26ac4e..fdf2387c63 100644
--- a/man2/setreuid.2
+++ b/man2/setreuid.2
@@ -135,13 +135,13 @@ is not valid in this user namespace.
.TP
.B EPERM
The calling process is not privileged
-(Linux: does not have the
+(on Linux, does not have the necessary capability in its user namespace:
.B CAP_SETUID
-capability in the case of
+in the case of
.BR setreuid (),
-or the
+or
.B CAP_SETGID
-capability in the case of
+in the case of
.BR setregid ())
and a change other than (i)
swapping the effective user (group) ID with the real user (group) ID,