Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

m68k: Resetting sa_handler in local copy of k_sigaction is pointless

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

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>

authored by

Al Viro and committed by
Geert Uytterhoeven
35fc157b 0eefed84

-3
-3
arch/m68k/kernel/signal.c
··· 1006 1006 else 1007 1007 setup_frame(sig, ka, oldset, regs); 1008 1008 1009 - if (ka->sa.sa_flags & SA_ONESHOT) 1010 - ka->sa.sa_handler = SIG_DFL; 1011 - 1012 1009 sigorsets(&current->blocked,&current->blocked,&ka->sa.sa_mask); 1013 1010 if (!(ka->sa.sa_flags & SA_NODEFER)) 1014 1011 sigaddset(&current->blocked,sig);