From 8b6e88b278750c4cdd8beba5458cc992812540b5 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Tue, 30 May 2017 05:43:58 +0200 Subject: [PATCH] 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 Signed-off-by: Michael Kerrisk --- man7/signal.7 | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/man7/signal.7 b/man7/signal.7 index 0e5db02ed..6a6097db9 100644 --- a/man7/signal.7 +++ b/man7/signal.7 @@ -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