Skip to contentSkip to conversation

m68k: resetting sa_handler in local copy of k_sigaction is pointless

PATCH New Al Viro 1 participant 1 message Oct 7, 2010 m68k architecture

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/6 m68k: resetting sa_handler in local copy of k_sigaction is pointless

... and had been such since the introduction of get_signal_to_deliver()

---
 arch/m68k/kernel/signal.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
arch/m68k/kernel/signal.c +0 -3
index 4b38753..c776c81 100644
@@ -1006,9 +1006,6 @@ handle_signal(int sig, struct k_sigaction *ka, siginfo_t *info,
 	else
 		setup_frame(sig, ka, oldset, regs);
 
-	if (ka->sa.sa_flags & SA_ONESHOT)
-		ka->sa.sa_handler = SIG_DFL;
-
 	sigorsets(&current->blocked,&current->blocked,&ka->sa.sa_mask);
 	if (!(ka->sa.sa_flags & SA_NODEFER))
 		sigaddset(&current->blocked,sig);
Signature · 1 line
1.5.6.5