diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-06-12 07:04:12 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-06-12 07:04:12 +0000 |
commit | 6b98d44aae4e7fcf6d1719b5950939dd5d3416a7 (patch) | |
tree | 44e488be838521bf6787378d3b1cb40f179c0d30 /sys/arch/arm32 | |
parent | ad4a5629f894358c8139190d58591975e4be2574 (diff) |
SIGSEGV always
Diffstat (limited to 'sys/arch/arm32')
-rw-r--r-- | sys/arch/arm32/arm32/fault.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/arch/arm32/arm32/fault.c b/sys/arch/arm32/arm32/fault.c index c93f5c143df..594d1b0cc96 100644 --- a/sys/arch/arm32/arm32/fault.c +++ b/sys/arch/arm32/arm32/fault.c @@ -679,8 +679,7 @@ copyfault: aborts[fault_status & 0xf], fault_status & 0xfff, fault_address, fault_pc); postmortem(frame); - trapsignal(p, (rv == KERN_PROTECTION_FAILURE) - ? SIGBUS : SIGSEGV, FAULT_PERM_P); + trapsignal(p, SIGSEGV, FAULT_PERM_P); break; } } @@ -860,8 +859,7 @@ nogo: fault_pc); disassemble(fault_pc); postmortem(frame); - trapsignal(p, (rv == KERN_PROTECTION_FAILURE) - ? SIGBUS : SIGSEGV, FAULT_TRANS_P); + trapsignal(p, SIGSEGV, FAULT_TRANS_P); break; } /* panic("Page Fault - Halting\n");*/ @@ -977,8 +975,7 @@ nogo1: goto we_re_toast; } postmortem(frame); - trapsignal(p, (rv == KERN_PROTECTION_FAILURE) - ? SIGBUS : SIGSEGV, FAULT_TRANS_S); + trapsignal(p, SIGSEGV, FAULT_TRANS_S); break; } /* panic("Section Fault - Halting\n"); |