From 1a3020e7b491c9df741b2b1e6f0b44e8b21f66dd Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Tue, 12 Feb 2019 14:11:34 -0700 Subject: man/io_uring_enter.2: clarify -EMFILE per-user case Signed-off-by: Jens Axboe --- man/io_uring_register.2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'man/io_uring_register.2') diff --git a/man/io_uring_register.2 b/man/io_uring_register.2 index c48c889..707d3de 100644 --- a/man/io_uring_register.2 +++ b/man/io_uring_register.2 @@ -186,13 +186,13 @@ exceeds the maximum allowed number of files in a fixed file set. .BR IORING_REGISTER_FILES was specified and adding .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 .B RLIMIT_NOFILE resource limit and the caller does not have .B CAP_SYS_RESOURCE -capability. +capability. Note that this is a per user limit, not per process. .TP .B ENOMEM Insufficient kernel resources are available, or the caller had a -- cgit