patch-2.1.129 linux/kernel/signal.c
Next file: linux/lib/vsprintf.c
Previous file: linux/kernel/printk.c
Back to the patch index
Back to the overall index
-  Lines: 12
-  Date:
Wed Nov 18 16:31:54 1998
-  Orig file: 
v2.1.128/linux/kernel/signal.c
-  Orig date: 
Thu Nov 12 16:21:25 1998
diff -u --recursive --new-file v2.1.128/linux/kernel/signal.c linux/kernel/signal.c
@@ -273,9 +273,9 @@
 		goto out_nolock;
 
 	/* The null signal is a permissions and process existance probe.
-	   No signal is actually delivered.  */
+	   No signal is actually delivered.  Same goes for zombies. */
 	ret = 0;
-	if (!sig)
+	if (!sig || !t->sig)
 		goto out_nolock;
 
 	spin_lock_irqsave(&t->sigmask_lock, flags);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov