patch-2.4.4 linux/arch/s390/kernel/signal.c
Next file: linux/arch/s390/kernel/smp.c
Previous file: linux/arch/s390/kernel/setup.c
Back to the patch index
Back to the overall index
- Lines: 35
- Date:
Wed Apr 11 19:02:28 2001
- Orig file:
v2.4.3/linux/arch/s390/kernel/signal.c
- Orig date:
Tue Feb 13 14:13:44 2001
diff -u --recursive --new-file v2.4.3/linux/arch/s390/kernel/signal.c linux/arch/s390/kernel/signal.c
@@ -187,7 +187,7 @@
int err;
s390_fp_regs fpregs;
- err = __copy_to_user(&sregs->regs,regs,sizeof(s390_regs_common));
+ err = __copy_to_user(&sregs->regs,regs,sizeof(_s390_regs_common));
if(!err)
{
save_fp_regs(&fpregs);
@@ -202,7 +202,7 @@
int err;
s390_fp_regs fpregs;
psw_t saved_psw=regs->psw;
- err=__copy_from_user(regs,&sregs->regs,sizeof(s390_regs_common));
+ err=__copy_from_user(regs,&sregs->regs,sizeof(_s390_regs_common));
if(!err)
{
regs->orig_gpr2 = -1; /* disable syscall checks */
@@ -218,7 +218,7 @@
}
static int
-restore_sigcontext(struct sigcontext *sc, pt_regs *regs,
+restore_sigcontext(struct sigcontext *sc, struct pt_regs *regs,
_sigregs *sregs,sigset_t *set)
{
unsigned int err;
@@ -555,6 +555,7 @@
case SIGQUIT: case SIGILL: case SIGTRAP:
case SIGABRT: case SIGFPE: case SIGSEGV:
+ case SIGBUS: case SIGSYS: case SIGXCPU: case SIGXFSZ:
if (do_coredump(signr, regs))
exit_code |= 0x80;
/* FALLTHRU */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)