getrlimit.2: CAP_SYS_RESOURCE capability is required in *initial user namespace*

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2018-03-08 12:20:59 +01:00
parent 30c5868ea4
commit ecf0eb2435
1 changed files with 2 additions and 1 deletions

View File

@ -111,7 +111,8 @@ an unprivileged process may set only its soft limit to a value in the
range from 0 up to the hard limit, and (irreversibly) lower its hard limit. range from 0 up to the hard limit, and (irreversibly) lower its hard limit.
A privileged process (under Linux: one with the A privileged process (under Linux: one with the
.B CAP_SYS_RESOURCE .B CAP_SYS_RESOURCE
capability) may make arbitrary changes to either limit value. capability in the initial user namespace)
may make arbitrary changes to either limit value.
.PP .PP
The value The value
.B RLIM_INFINITY .B RLIM_INFINITY