From 78aead1121ceb2e1bb19e63d4e430d835037ec45 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sat, 24 Oct 2020 12:54:11 +0200 Subject: [PATCH] signal.7: Add reference to seccomp_user_notif(2) The seccomp user-space notification feature can cause changes in the semantics of SA_RESTART with respect to system calls that would never normally be restarted. Point the reader to the page that provide further details. Signed-off-by: Michael Kerrisk --- man7/signal.7 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/man7/signal.7 b/man7/signal.7 index 91669145a2..6995e28ed7 100644 --- a/man7/signal.7 +++ b/man7/signal.7 @@ -742,6 +742,15 @@ The .BR sleep (3) function is also never restarted if interrupted by a handler, but gives a success return: the number of seconds remaining to sleep. +.PP +In certain circumstances, the +.BR seccomp (2) +user-space notification feature can lead to restarting of system calls +that would otherwise never be restarted by +.BR SA_RESTART ; +for details, see +.BR seccomp_user_notif (2). +.\" .SS Interruption of system calls and library functions by stop signals On Linux, even in the absence of signal handlers, certain blocking interfaces can fail with the error -- 2.47.2