namespaces.7: Repair discussion of termination of "init" in PID namespace

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2013-01-16 01:14:32 +01:00
parent 110026abe4
commit 33a3c1b8ec
1 changed files with 5 additions and 4 deletions

View File

@ -339,10 +339,11 @@ flag) has the PID 1, and is the "init" process for the namespace (see
Children that are orphaned within the namespace will be reparented
to this process rather than
.BR init (8).
Unlike the traditional
.B init
process, the "init" process of a PID namespace can terminate,
and if it does, all of the processes in the namespace are terminated.
If the "init" process of a PID namespace terminates,
the kernel terminates all of the processes in the namespace.
This behavior reflects the fact that the "init" process
is essential for the correct operation of a PID namespace.
PID namespaces can be nested.
When a new PID namespace is created,