patch-2.2.10 linux/kernel/signal.c
Next file: linux/kernel/sys.c
Previous file: linux/include/scsi/sg.h
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Mon Jun 7 16:14:21 1999
- Orig file:
v2.2.9/linux/kernel/signal.c
- Orig date:
Tue May 11 13:10:32 1999
diff -u --recursive --new-file v2.2.9/linux/kernel/signal.c linux/kernel/signal.c
@@ -11,6 +11,7 @@
#include <linux/unistd.h>
#include <linux/smp_lock.h>
#include <linux/init.h>
+#include <linux/sched.h>
#include <asm/uaccess.h>
@@ -324,7 +325,7 @@
if (nr_queued_signals < max_queued_signals) {
q = (struct signal_queue *)
- kmem_cache_alloc(signal_queue_cachep, GFP_KERNEL);
+ kmem_cache_alloc(signal_queue_cachep, GFP_ATOMIC);
}
if (q) {
@@ -417,6 +418,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);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)