aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2019-09-23 22:10:38 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2019-10-10 12:24:28 +0200
commit1a5adccc696cc66ab0460e8af1402e76d9d4a517 (patch)
tree1b466ad0a50a7f8a0b390ba4e5d386f118e62826
parent57a436eb4c44e157761507d7c5953ba47602dc4b (diff)
downloadman-pages-1a5adccc696cc66ab0460e8af1402e76d9d4a517.tar.gz
pidfd_open.2: Add some missing errors
Reported-by: Florian Weimer <fw@deneb.enyo.de> Reported-by: Christian Brauner <christian.brauner@ubuntu.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/pidfd_open.216
1 files changed, 16 insertions, 0 deletions
diff --git a/man2/pidfd_open.2 b/man2/pidfd_open.2
index 887aa769d0..9443f3baf0 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