summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-02-12 14:11:34 -0700
committerJens Axboe <axboe@kernel.dk>2019-02-12 14:11:34 -0700
commit1a3020e7b491c9df741b2b1e6f0b44e8b21f66dd (patch)
tree6ed7c6126ce5348fa87d5f87f69b9ac536935edb /man
parent37e48698a09aa1e37690f8fa6dfd8da69a48ee60 (diff)
man/io_uring_enter.2: clarify -EMFILE per-user case
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'man')
-rw-r--r--man/io_uring_register.24
1 files changed, 2 insertions, 2 deletions
diff --git a/man/io_uring_register.2 b/man/io_uring_register.2
index c48c889..707d3de 100644
--- a/man/io_uring_register.2
+++ b/man/io_uring_register.2
@@ -186,13 +186,13 @@ exceeds the maximum allowed number of files in a fixed file set.
.BR IORING_REGISTER_FILES
was specified and adding
.I nr_args
-file references would exceed the maximum allowed number of files the process
+file references would exceed the maximum allowed number of files the user
is allowed to have according to the
.B
RLIMIT_NOFILE
resource limit and the caller does not have
.B CAP_SYS_RESOURCE
-capability.
+capability. Note that this is a per user limit, not per process.
.TP
.B ENOMEM
Insufficient kernel resources are available, or the caller had a