man/io_uring_enter.2: clarify -EMFILE per-user case

Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
Jens Axboe
2019-02-12 14:11:34 -07:00
parent 37e48698a0
commit 1a3020e7b4

View File

@@ -186,13 +186,13 @@ exceeds the maximum allowed number of files in a fixed file set.
.BR IORING_REGISTER_FILES .BR IORING_REGISTER_FILES
was specified and adding was specified and adding
.I nr_args .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 is allowed to have according to the
.B .B
RLIMIT_NOFILE RLIMIT_NOFILE
resource limit and the caller does not have resource limit and the caller does not have
.B CAP_SYS_RESOURCE .B CAP_SYS_RESOURCE
capability. capability. Note that this is a per user limit, not per process.
.TP .TP
.B ENOMEM .B ENOMEM
Insufficient kernel resources are available, or the caller had a Insufficient kernel resources are available, or the caller had a