aboutsummaryrefslogtreecommitdiffstats
path: root/man2/setresuid.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/setresuid.2')
-rw-r--r--man2/setresuid.213
1 files changed, 11 insertions, 2 deletions
diff --git a/man2/setresuid.2 b/man2/setresuid.2
index b54c140b24..bc422b41c9 100644
--- a/man2/setresuid.2
+++ b/man2/setresuid.2
@@ -102,8 +102,17 @@ One or more of the target user or group IDs
is not valid in this user namespace.
.TP
.B EPERM
-The calling process is not privileged (did not have the \fBCAP_SETUID\fP
-capability) and tried to change the IDs to values that are not permitted.
+The calling process is not privileged (did not have the necessary
+capability in its user namespace)
+and tried to change the IDs to values that are not permitted.
+For
+.BR setresuid (),
+the necessary capability is
+.BR CAP_SETUID ;
+for
+.BR setresgid (),
+it is
+.BR CAP_SETGID .
.SH VERSIONS
These calls are available under Linux since Linux 2.1.44.
.SH CONFORMING TO