patch-2.4.21 linux-2.4.21/arch/sparc/kernel/signal.c

Next file: linux-2.4.21/arch/sparc/kernel/smp.c
Previous file: linux-2.4.21/arch/sparc/kernel/rtrap.S
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/arch/sparc/kernel/signal.c linux-2.4.21/arch/sparc/kernel/signal.c
@@ -792,7 +792,7 @@
 	int window = 0, err;
 
 	synchronize_user_stack();
-	sfp = (svr4_signal_frame_t *) get_sigframe(sa, regs, SVR4_SF_ALIGNED + REGWIN_SZ);
+	sfp = (svr4_signal_frame_t *) get_sigframe(sa, regs, SVR4_SF_ALIGNED + sizeof(struct reg_window));
 
 	if (invalid_frame_pointer (sfp, sizeof (*sfp))){
 #ifdef DEBUG_SIGNALS
@@ -1241,7 +1241,7 @@
 			if (current->pid == 1)
 				continue;
 			switch (signr) {
-			case SIGCONT: case SIGCHLD: case SIGWINCH:
+			case SIGCONT: case SIGCHLD: case SIGWINCH: case SIGURG:
 				continue;
 
 			case SIGTSTP: case SIGTTIN: case SIGTTOU:

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