summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_trap.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/subr_trap.c')
-rw-r--r--sys/kern/subr_trap.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/kern/subr_trap.c b/sys/kern/subr_trap.c
index d413307..97a7418 100644
--- a/sys/kern/subr_trap.c
+++ b/sys/kern/subr_trap.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)trap.c 7.4 (Berkeley) 5/13/91
- * $Id: trap.c,v 1.8 1993/11/25 01:31:01 wollman Exp $
+ * $Id: trap.c,v 1.9 1993/11/28 09:28:54 davidg Exp $
*/
/*
@@ -370,6 +370,9 @@ nogo:
goto we_re_toast;
}
i = (rv == KERN_PROTECTION_FAILURE) ? SIGBUS : SIGSEGV;
+ ucode = type &~ T_USER;
+ frame.tf_err = eva;
+ /* kludge to pass faulting virtual address to sendsig */
break;
}
OpenPOWER on IntegriCloud