diff --git a/man2/getrlimit.2 b/man2/getrlimit.2 index 645b44508..a7a45d2d7 100644 --- a/man2/getrlimit.2 +++ b/man2/getrlimit.2 @@ -449,7 +449,8 @@ is 0, then the call applies to the calling process. To set or get the resources of a process other than itself, the caller must have the .B CAP_SYS_RESOURCE -capability, or the +capability in the user namespace of the process +whose resource limits are being changed, or the real, effective, and saved set user IDs of the target process must match the real user ID of the caller .I and