aboutsummaryrefslogtreecommitdiffstats
path: root/man7/namespaces.7
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2013-01-16 01:14:32 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2014-09-13 20:15:58 -0700
commit33a3c1b8ec6af5eb2a49120f80dd20535018f8cd (patch)
treeec2b2cbc965bdd76f7c655fd4fab1969991e18ee /man7/namespaces.7
parent110026abe465233b92e3f66f35c4c571d78e0a43 (diff)
downloadman-pages-33a3c1b8ec6af5eb2a49120f80dd20535018f8cd.tar.gz
namespaces.7: Repair discussion of termination of "init" in PID namespace
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man7/namespaces.7')
-rw-r--r--man7/namespaces.79
1 files changed, 5 insertions, 4 deletions
diff --git a/man7/namespaces.7 b/man7/namespaces.7
index b482e8d525..5ca20a7e33 100644
--- a/man7/namespaces.7
+++ b/man7/namespaces.7
@@ -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,