getrlimit.2: Update text on RLIMIT_NOFILE ceiling to refer to /proc/sys/fs/file-max

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-01-13 11:31:16 +01:00
parent 4e1438e3cb
commit 625b5f5a49
1 changed files with 4 additions and 2 deletions

View File

@ -487,8 +487,10 @@ An unprivileged process tried to raise the hard limit; the
capability is required to do this. capability is required to do this.
Or, the caller tried to increase the hard Or, the caller tried to increase the hard
.B RLIMIT_NOFILE .B RLIMIT_NOFILE
limit above the current kernel maximum limit above the maximum defined by
.RB ( NR_OPEN ). .IR /proc/sys/fs/nr_open
(see
.BR proc (5))
Or, the calling process did not have permission to set limits Or, the calling process did not have permission to set limits
for the process specified by for the process specified by
.IR pid . .IR pid .