aboutsummaryrefslogtreecommitdiffstats
path: root/man2
diff options
context:
space:
mode:
Diffstat (limited to 'man2')
-rw-r--r--man2/killpg.214
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