]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
setns.2: ERRORS: add ESRCH for PID FD that refers to a terminated process
authorMichael Kerrisk <mtk.manpages@gmail.com>
Mon, 15 Jun 2020 20:41:49 +0000 (22:41 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Mon, 15 Jun 2020 20:41:49 +0000 (22:41 +0200)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/setns.2

index e7ab08908cfa7f6bed6064984c27437807e0618d..60c88a41781bd025daa25af363bbe4d21daf5839 100644 (file)
@@ -296,6 +296,11 @@ Cannot allocate sufficient memory to change the specified namespace.
 .B EPERM
 The calling thread did not have the required capability
 for this operation.
+.TP
+.B ESRCH
+.I fd
+is a PID file descriptor but the process it refers to no longer exists
+(i.e., it has terminated and been waited on).
 .SH VERSIONS
 The
 .BR setns ()