]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
docs: nsenter(1): fix further details in PID namespace section
authorStephen Kitt <steve@sk2.org>
Thu, 23 Apr 2020 08:37:02 +0000 (10:37 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 27 Apr 2020 09:32:05 +0000 (11:32 +0200)
The "Further details" sentence in the PID namespace section got merged
with the surrounding text; this patch moves it to the end, to match
the other namespace sections, and adds the missing clone(2) reference.

Fixes: 894efece9eb89 ("Provide better cross references for namespace concepts")
Signed-off-by: Stephen Kitt <steve@sk2.org>
sys-utils/nsenter.1

index 9cce839c074473a73e7e759a5e103b28afe89e3b..c51d9b04a61368b96e193a15b6c6f0293f4c0ffb 100644 (file)
@@ -61,17 +61,18 @@ flag in
 .B PID namespace
 Children will have a set of PID to process mappings separate from the
 .B nsenter
-process
+process.
+.B nsenter
+will fork by default if changing the PID namespace, so that the new program
+and its children share the same PID namespace and are visible to each other.
+If \fB\-\-no\-fork\fP is used, the new program will be exec'ed without forking.
 For further details, see
 .BR pid_namespaces (7)
 and
 the discussion of the
 .B CLONE_NEWPID
 flag in
-.B nsenter
-will fork by default if changing the PID namespace, so that the new program
-and its children share the same PID namespace and are visible to each other.
-If \fB\-\-no\-fork\fP is used, the new program will be exec'ed without forking.
+.BR clone (2).
 .TP
 .B user namespace
 The process will have a distinct set of UIDs, GIDs and capabilities.