mirror of https://github.com/mkerrisk/man-pages
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>
This commit is contained in:
parent
81554da338
commit
0d86f49075
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue