summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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