aboutsummaryrefslogtreecommitdiffstats
path: root/man7/signal.7
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2020-10-24 12:54:11 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2021-06-10 10:40:17 +1200
commit730a8d48d1f67a3772d6d276a8365039e921c108 (patch)
tree746c523e2dd6216fbe8052adc00fcf1aef240b08 /man7/signal.7
parentfd1295e8f14b8b3a13beeb716e5a91ca46d8e893 (diff)
downloadman-pages-730a8d48d1f67a3772d6d276a8365039e921c108.tar.gz
signal.7: Add reference to seccomp_unotify(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 <mtk.manpages@gmail.com>
Diffstat (limited to 'man7/signal.7')
-rw-r--r--man7/signal.79
1 files changed, 9 insertions, 0 deletions
diff --git a/man7/signal.7 b/man7/signal.7
index 29c160fa26..bc31556055 100644
--- a/man7/signal.7
+++ b/man7/signal.7
@@ -857,6 +857,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_unotify (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