Message ID | 7ec87e06c7371c6c574de8ce2cb6553a26c3f3de.1465392530.git.riku.voipio@linaro.org |
---|---|
State | Accepted |
Commit | 7ec87e06c7371c6c574de8ce2cb6553a26c3f3de |
Headers | show |
diff --git a/linux-user/signal.c b/linux-user/signal.c index 5f98c71..5069c3f 100644 --- a/linux-user/signal.c +++ b/linux-user/signal.c @@ -5847,8 +5847,9 @@ static void handle_pending_signal(CPUArchState *cpu_env, int sig) else setup_frame(sig, sa, &target_old_set, cpu_env); #endif - if (sa->sa_flags & TARGET_SA_RESETHAND) + if (sa->sa_flags & TARGET_SA_RESETHAND) { sa->_sa_handler = TARGET_SIG_DFL; + } } if (q != &k->info) free_sigqueue(cpu_env, q);