From a9562222f76ad3ed3c310403237fa3690914c582 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sat, 16 Jul 2016 12:23:18 +0200 Subject: [PATCH] kill.2: Clarify the meaning if sig==0 Reported-by: John Wiersba Signed-off-by: Michael Kerrisk --- man2/kill.2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/man2/kill.2 b/man2/kill.2 index 507e1bf98..acd53fe47 100644 --- a/man2/kill.2 +++ b/man2/kill.2 @@ -81,10 +81,10 @@ except for process 1 (\fIinit\fP), but see below. If \fIpid\fP is less than \-1, then \fIsig\fP is sent to every process in the process group whose ID is \fI\-pid\fP. .PP -If \fIsig\fP is 0, then no signal is sent, but error checking is still -performed; +If \fIsig\fP is 0, then no signal is sent, +but existence and permission checks are still performed; this can be used to check for the existence of a process ID or -process group ID. +process group ID that the caller is permitted to signal. For a process to have permission to send a signal it must either be privileged (under Linux: have the