summaryrefslogtreecommitdiff
path: root/man/io_uring_register.2
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-02-12 10:31:52 -0700
committerJens Axboe <axboe@kernel.dk>2019-02-12 10:31:52 -0700
commit37e48698a09aa1e37690f8fa6dfd8da69a48ee60 (patch)
treea7b9fc260936d10d4973d150936f9b00d7c84b30 /man/io_uring_register.2
parent87ec82f00f58fc7688d8863b8e795c4957516098 (diff)
downloadliburing-37e48698a09aa1e37690f8fa6dfd8da69a48ee60.tar.gz
liburing-37e48698a09aa1e37690f8fa6dfd8da69a48ee60.tar.bz2
man/io_uring_enter.2: add mention of -EMFILE for fixed file sets
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'man/io_uring_register.2')
-rw-r--r--man/io_uring_register.212
1 files changed, 12 insertions, 0 deletions
diff --git a/man/io_uring_register.2 b/man/io_uring_register.2
index 7ba47f2..c48c889 100644
--- a/man/io_uring_register.2
+++ b/man/io_uring_register.2
@@ -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