Linux-kernel mailing list archive 1999-23,: [PATCH] Missing recalc_sigpending

# [PATCH] Missing recalc_sigpending

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

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Ingo Oeser: "Re: RFC: Devices, buses and hotplug"
- Previous message: James H. Cloos Jr.: "Re: [kernel] Re: [announce] Linux Input Driver suite version 0.1.0"

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/

- Next message: Ingo Oeser: "Re: RFC: Devices, buses and hotplug"
- Previous message: James H. Cloos Jr.: "Re: [kernel] Re: [announce] Linux Input Driver suite version 0.1.0"