fork.2: Add ENOMEM error for PID namespace where "init" has died

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-05-13 09:47:41 +02:00
parent aac0b30fea
commit f516d6d979
1 changed files with 6 additions and 0 deletions

View File

@ -237,6 +237,12 @@ See
.BR fork () .BR fork ()
failed to allocate the necessary kernel structures because memory is tight. failed to allocate the necessary kernel structures because memory is tight.
.TP .TP
.B ENOMEM
An attempt was made to create a child process in a PID namespace
whose "init" process has terminated.
See
.BR pid_namespaces (7).
.TP
.B ENOSYS .B ENOSYS
.BR fork () .BR fork ()
is not supported on this platform (for example, is not supported on this platform (for example,