signalfd.2: Describe semantics with respect to SCM_RIGHTS

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-08-19 14:19:56 -07:00
parent 15fb5d0374
commit 3f81631283
1 changed files with 9 additions and 0 deletions

View File

@ -226,6 +226,15 @@ A
.BR read (2)
from the file descriptor in the child will return information
about signals queued to the child.
.SS Semantics of file descriptor passing
As with other file descriptors,
signalfd file descriptors can be passed to another process
via a UNIX domain socket (see
.BR unix (7)).
In the receiving process, a
.BR read (2)
from the received file descriptor will return information
about signals queued to that process.
.SS execve(2) semantics
Just like any other file descriptor,
a signalfd file descriptor remains open across an