diff options
Diffstat (limited to 'man2')
| -rw-r--r-- | man2/close_range.2 | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/man2/close_range.2 b/man2/close_range.2 index b6b6c2a9e4..ff4b81aaa2 100644 --- a/man2/close_range.2 +++ b/man2/close_range.2 @@ -79,11 +79,16 @@ The following can occur with (when constructing the new descriptor table): .TP .B EMFILE -The per-process limit on the number of open file descriptors has been reached -(see the description of -.B RLIMIT_NOFILE -in -.BR getrlimit (2)). +The number of open file descriptors exceeds the limit specified in +.IR /proc/sys/fs/nr_open +(see +.BR proc (5)). +This error can occur in situations where that limit was lowered before +a call to +.BR close_range () +where the +.B CLOSE_RANGE_UNSHARE +flag is specified. .TP .B ENOMEM Insufficient kernel memory was available. |
