summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--syscall.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/syscall.c b/syscall.c
index 5c0d580..a1e33e1 100644
--- a/syscall.c
+++ b/syscall.c
@@ -2464,8 +2464,9 @@ trace_syscall_exiting(struct tcb *tcp)
/* pause(), rt_sigsuspend() etc use this code.
* SA_RESTART is ignored (assumed not set):
* syscall won't restart (will return EINTR instead)
- * even after signal with SA_RESTART set.
- * However, after SIG_IGN or SIG_DFL signal it will.
+ * even after signal with SA_RESTART set. However,
+ * after SIG_IGN or SIG_DFL signal it will restart
+ * (thus the name "restart only if has no handler").
*/
tprints("= ? ERESTARTNOHAND (Interrupted by signal)");
break;