From 1a5adccc696cc66ab0460e8af1402e76d9d4a517 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 23 Sep 2019 22:10:38 +0200 Subject: [PATCH] pidfd_open.2: Add some missing errors Reported-by: Florian Weimer Reported-by: Christian Brauner Signed-off-by: Michael Kerrisk --- man2/pidfd_open.2 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/man2/pidfd_open.2 b/man2/pidfd_open.2 index 887aa769d..9443f3baf 100644 --- a/man2/pidfd_open.2 +++ b/man2/pidfd_open.2 @@ -61,6 +61,22 @@ is not 0. .I pid is not valid. .TP +.B EMFILE +The per-process limit on the number of open file descriptors has been reached +(see the description of +.BR RLIMIT_NOFILE +in +.BR getrlimit (2)). +.TP +.B ENFILE +The system-wide limit on the total number of open files has been reached. +.TP +.B ENODEV +The anonymous inode filesystem is not available in this kernel. +.TP +.B ENOMEM +Insufficient kernel memory was available. +.TP .B ESRCH The process specified by .I pid