signal.7: Since Linux 3.8, read(2) on an inotify FD is restartable with SA_RESTART

See https://bugzilla.kernel.org/show_bug.cgi?id=195711

Reported-by: lilydjwg <lilydjwg@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-05-30 05:43:58 +02:00
parent 4040b0a506
commit 8b6e88b278
1 changed files with 9 additions and 5 deletions

View File

@ -581,6 +581,15 @@ and
.\" as a consequence of the 2.6.22 changes in the futex() implementation
beforehand, always failed with
.BR EINTR ).
.IP *
.BR read (2)
from an
.BR inotify (7)
file descriptor
(since Linux 3.8;
.\" commit 1ca39ab9d21ac93f94b9e3eb364ea9a5cf2aba06
beforehand, always failed with
.BR EINTR ).
.PP
The following interfaces are never restarted after
being interrupted by a signal handler,
@ -647,11 +656,6 @@ Sleep interfaces:
and
.BR usleep (3).
.IP *
.BR read (2)
from an
.BR inotify (7)
file descriptor.
.IP *
.BR io_getevents (2).
.PP
The