aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-06-26 14:59:33 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-09-12 14:04:45 +0100
commit0d86f490759b16d51f4eb8c474fa7627abfbff45 (patch)
treee442f76bc69e13d2a381d6855d54bfeab7ee0689
parent81554da33800ed49acf1ee6a5141116e5540ef66 (diff)
downloadman-pages-0d86f490759b16d51f4eb8c474fa7627abfbff45.tar.gz
socket.7: SIOCSPGRP: refer to fcntl(2) F_SETOWN for correct permission rules
The permission rules described for SIOCCPGRP are wrong. Rather than repeat the rules here, just refer the reader to fcntl(2), where the rules are described for F_SETOWN. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man7/socket.718
1 files changed, 6 insertions, 12 deletions
diff --git a/man7/socket.7 b/man7/socket.7
index 2c0c7b21b2..96707be1ca 100644
--- a/man7/socket.7
+++ b/man7/socket.7
@@ -1019,23 +1019,17 @@ set to
.BR ENOENT ).
.TP
.B SIOCSPGRP
-Set the process or process group to send
+Set the process or process group that is to receive
.B SIGIO
or
.B SIGURG
-signals
-to when an
-asynchronous I/O operation has finished or urgent data is available.
+signals when I/O becomes possible or urgent data is available.
The argument is a pointer to a
.IR pid_t .
-If the argument is positive, send the signals to that process.
-If the
-argument is negative, send the signals to the process group with the ID
-of the absolute value of the argument.
-The process may only choose itself or its own process group to receive
-signals unless it has the
-.B CAP_KILL
-capability or an effective UID of 0.
+For further details, see the description of
+.BR F_SETOWN
+in
+.BR fcntl (2).
.TP
.B FIOASYNC
Change the