clone.2: Give the introductory paragraph a new coat of paint

Change the text in the introductory paragraph (which was written
20 years ago) to reflect the fact that clone*() does more things
nowadays.

Cowritten-by: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2019-11-08 09:34:45 +01:00
parent 85d764718b
commit 1033756742
1 changed files with 14 additions and 6 deletions

View File

@ -70,15 +70,23 @@ create a new process, in a manner similar to
.PP
Unlike
.BR fork (2),
these system calls
allow the child process to share parts of its execution context with
the calling process, such as the virtual address space, the table of file
descriptors, and the table of signal handlers.
(Note that on this manual
these system calls allow the child to be created with
various properties that differ from the parent.
For example, these system calls
provide more precise control over what pieces of execution
context are shared between the calling process and the child process.
For example, using these system calls, the caller can control whether
or not the two processes share the virtual address space,
the table of file descriptors, and the table of signal handlers.
These system system calls also allow the new child process to placed
in separate
.BR namespaces (7).
.PP
Note that in this manual
page, "calling process" normally corresponds to "parent process".
But see the description of
.B CLONE_PARENT
below.)
below.
.PP
This page describes the following interfaces:
.IP * 3