patch-2.4.19 linux-2.4.19/arch/i386/kernel/signal.c

Next file: linux-2.4.19/arch/i386/kernel/smp.c
Previous file: linux-2.4.19/arch/i386/kernel/setup.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/arch/i386/kernel/signal.c linux-2.4.19/arch/i386/kernel/signal.c
@@ -658,7 +658,7 @@
 				continue;
 
 			switch (signr) {
-			case SIGCONT: case SIGCHLD: case SIGWINCH:
+			case SIGCONT: case SIGCHLD: case SIGWINCH: case SIGURG:
 				continue;
 
 			case SIGTSTP: case SIGTTIN: case SIGTTOU:
@@ -685,10 +685,7 @@
 				/* FALLTHRU */
 
 			default:
-				sigaddset(&current->pending.signal, signr);
-				recalc_sigpending(current);
-				current->flags |= PF_SIGNALED;
-				do_exit(exit_code);
+				sig_exit(signr, exit_code, &info);
 				/* NOTREACHED */
 			}
 		}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)