Blame SOURCES/bz1422573_1-dont-override-user-signals.patch

fe522a
commit e336b716cce83b3af414a1dcc4c2ef22c591d73f
fe522a
Author: Christine Caulfield <ccaulfie@redhat.com>
fe522a
Date:   Fri Feb 24 16:36:35 2017 +0000
fe522a
fe522a
    loop: Also set signals changed in qb_loop_signal_mod() back to SIG_DFL
fe522a
    
fe522a
    Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
fe522a
fe522a
diff --git a/lib/loop_poll.c b/lib/loop_poll.c
fe522a
index 386cae6..cd2474e 100644
fe522a
--- a/lib/loop_poll.c
fe522a
+++ b/lib/loop_poll.c
fe522a
@@ -723,6 +723,7 @@ qb_loop_signal_mod(qb_loop_t * lp,
fe522a
 	sig->p = p;
fe522a
 
fe522a
 	if (sig->signal != the_sig) {
fe522a
+		signal(sig->signal, SIG_DFL);
fe522a
 		sig->signal = the_sig;
fe522a
 		_adjust_sigactions_(s);
fe522a
 	}