clone.2: Minor tweaks to Christian Brauner's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2019-09-03 08:44:19 +02:00
parent 99f6c1d734
commit 4e98b07476
1 changed files with 4 additions and 3 deletions

View File

@ -540,6 +540,7 @@ Since then, the kernel silently ignores this bit if it is specified in
.IR flags .
.TP
.BR CLONE_PIDFD " (since Linux 5.2)"
.\" commit b3e5838252665ee4cfa76b82bdf1198dca81e5be
If
.B CLONE_PIDFD
is set,
@ -551,7 +552,7 @@ in the parent's memory.
Note, that the kernel verifies that the value for
.I ptid
is zero.
If it is not an error will be returned.
If it is not, then an error will be returned.
This ensures that
.I ptid
can potentially be used to specify additional options for
@ -575,8 +576,8 @@ For a while there was a
flag.
This flag is usually ignored when passed along with other flags.
However, when passed alongside
.B CLONE_PIDFD
an error will be returned.
.BR CLONE_PIDFD ,
an error is returned.
This ensures that this flag can be reused
for further pidfd features in the future.
.TP