signalfd.2: signalfd can't be used to receive synchronously generated signals

Signals such as the SIGSEGV that results from an invalid
memory access can be caught only with a handler.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-01-16 16:30:00 +13:00
parent 9a95dcb6a6
commit b435e1e160
1 changed files with 9 additions and 0 deletions

View File

@ -342,6 +342,15 @@ directory.
See
.BR proc (5)
for further details.
The signalfd mechanism can't be used to receive signals that
are synchronously generated, such as the
.BR SIGSEGV
signal that results from accessing an invalid memory address
or the
.BR SIGFPE
signal that results from an arithmetic error.
Such signals can be caught only via signal handler.
.\"
.SS C library/kernel differences
The underlying Linux system call requires an additional argument,