From 37e48698a09aa1e37690f8fa6dfd8da69a48ee60 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Tue, 12 Feb 2019 10:31:52 -0700 Subject: man/io_uring_enter.2: add mention of -EMFILE for fixed file sets Signed-off-by: Jens Axboe --- man/io_uring_register.2 | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'man/io_uring_register.2') 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 -- cgit