diff --git a/man2/setresuid.2 b/man2/setresuid.2 index b54c140b2..bc422b41c 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