[PATCH] Missing recalc_sigpending

Andreas Schwab (schwab@issan.cs.uni-dortmund.de)
07 Jun 1999 11:42:57 +0200


While we are at it, there is another recalc_sigpending missing in the generic
signal code:

--- linux/kernel/signal.c.~1~ Mon Jun 7 11:34:15 1999
+++ linux/kernel/signal.c Mon Jun 7 11:37:30 1999
@@ -417,6 +417,7 @@
if (t->sig->action[sig-1].sa.sa_handler == SIG_IGN)
t->sig->action[sig-1].sa.sa_handler = SIG_DFL;
sigdelset(&t->blocked, sig);
+ recalc_sigpending(t);
spin_unlock_irqrestore(&t->sigmask_lock, flags);

return send_sig_info(sig, info, t);

-- 
Andreas Schwab                                      "And now for something
schwab@issan.cs.uni-dortmund.de                      completely different"
schwab@gnu.org

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/