man/io_uring_enter.2: add mention of -EMFILE for fixed file sets

Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
Jens Axboe
2019-02-12 10:31:52 -07:00
parent 87ec82f00f
commit 37e48698a0

View File

@@ -182,6 +182,18 @@ was specified and
.I nr_args
exceeds the maximum allowed number of files in a fixed file set.
.TP
.B EMFILE
.BR IORING_REGISTER_FILES
was specified and adding
.I nr_args
file references would exceed the maximum allowed number of files the process
is allowed to have according to the
.B
RLIMIT_NOFILE
resource limit and the caller does not have
.B CAP_SYS_RESOURCE
capability.
.TP
.B ENOMEM
Insufficient kernel resources are available, or the caller had a
non-zero