diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/signal.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/signal.c b/kernel/signal.c index b373fc2420da..01a1e7f7acf7 100644 --- a/kernel/signal.c +++ b/kernel/signal.c | |||
@@ -2702,6 +2702,7 @@ sys_signal(int sig, __sighandler_t handler) | |||
2702 | 2702 | ||
2703 | new_sa.sa.sa_handler = handler; | 2703 | new_sa.sa.sa_handler = handler; |
2704 | new_sa.sa.sa_flags = SA_ONESHOT | SA_NOMASK; | 2704 | new_sa.sa.sa_flags = SA_ONESHOT | SA_NOMASK; |
2705 | sigemptyset(&new_sa.sa.sa_mask); | ||
2705 | 2706 | ||
2706 | ret = do_sigaction(sig, &new_sa, &old_sa); | 2707 | ret = do_sigaction(sig, &new_sa, &old_sa); |
2707 | 2708 | ||