Just a few lines above, we had exactly the same code... No need to do it again.
Signed-off-by: Nadav Har'El <[email protected]> --- libc/signal.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libc/signal.cc b/libc/signal.cc index b7351ee..832002c 100644 --- a/libc/signal.cc +++ b/libc/signal.cc @@ -353,10 +353,6 @@ int kill(pid_t pid, int sig) // FIXME: proper second (siginfo) and third (context) arguments (See example in call_signal_handler) sa.sa_sigaction(sig, nullptr, nullptr); } else { - if (sa.sa_flags & SA_RESETHAND) { - signal_actions[sig].sa_flags = 0; - signal_actions[sig].sa_handler = SIG_DFL; - } sa.sa_handler(sig); } }, sched::thread::attr().detached().stack(65536).name("signal_handler")); -- 2.9.3 -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
