From 99f6c1d734e4b8f424c7c54f812db4aefa511976 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Tue, 3 Sep 2019 08:41:14 +0200 Subject: [PATCH] clone.2: srcfix: wrap source at sentence boundaries Signed-off-by: Michael Kerrisk --- man2/clone.2 | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/man2/clone.2 b/man2/clone.2 index 881723b05..a784d76ee 100644 --- a/man2/clone.2 +++ b/man2/clone.2 @@ -547,9 +547,12 @@ is set, stores a process file descriptor ("pidfd") referring to the child process at the location .I ptid -in the parent's memory. Note, that the kernel verifies that the value for +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. This ensures that +is zero. +If it is not an error will be returned. +This ensures that .I ptid can potentially be used to specify additional options for .B CLONE_PIDFD @@ -569,10 +572,12 @@ thread-group leader. .IP For a while there was a .B CLONE_DETACHED -flag. This flag is usually ignored when passed along with other flags. +flag. +This flag is usually ignored when passed along with other flags. However, when passed alongside .B CLONE_PIDFD -an error will be returned. This ensures that this flag can be reused +an error will be returned. +This ensures that this flag can be reused for further pidfd features in the future. .TP .BR CLONE_PTRACE " (since Linux 2.2)"