diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2016-06-26 15:16:32 +0200 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2016-09-12 14:04:45 +0100 |
| commit | 6fee0ca3ba31cbcc8c5f9e08a040c1e40dd87ef5 (patch) | |
| tree | 3fddbf3b1d3cf273a98aa8307718ae9da0316043 | |
| parent | 40ff9e27dc653d3a55d797101847db5f1c3deaeb (diff) | |
| download | man-pages-6fee0ca3ba31cbcc8c5f9e08a040c1e40dd87ef5.tar.gz | |
killpg.2: Refer reader to kill(2) for signal permission rules
Rather than repeating details here, refer the reader to kill(2)
(so that the rules are in a canonical location, and need only
be edited in one place for future changes--see next commit).
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
| -rw-r--r-- | man2/killpg.2 | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/man2/killpg.2 b/man2/killpg.2 index bf63143c6d..1bc889aa1f 100644 --- a/man2/killpg.2 +++ b/man2/killpg.2 @@ -78,16 +78,8 @@ sends the signal to the calling process's process group. .I pgrp is less than or equal to 1, the behavior is undefined.) -For a process to have permission to send a signal -it must either be privileged (under Linux: have the -.B CAP_KILL -capability), or the real or effective -user ID of the sending process must equal the real or -saved set-user-ID of the target process. -In the case of -.B SIGCONT -it suffices when the sending and receiving -processes belong to the same session. +For the permissions required to send a signal to another process, see +.BR kill (2). .SH RETURN VALUE On success, zero is returned. On error, \-1 is returned, and @@ -102,6 +94,8 @@ is not a valid signal number. .B EPERM The process does not have permission to send the signal to any of the target processes. +For the required permissions, see +.BR kill (2). .TP .B ESRCH No process can be found in the process group specified by |
