diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-10-17 13:36:46 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-10-17 13:36:46 +0000 |
commit | 5121f491d896ee718aceb74eec4f7b9c766436d1 (patch) | |
tree | 8857edcf5345f3943c9f3c6e814ea831c5c87674 /sys/arch | |
parent | cd6f1ef96899d325af1698b8c242330182e05507 (diff) |
more SIGBUS garbage
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/i386/i386/trap.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/i386/i386/trap.c b/sys/arch/i386/i386/trap.c index bc6d0badaf3..ce83d2eea25 100644 --- a/sys/arch/i386/i386/trap.c +++ b/sys/arch/i386/i386/trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.c,v 1.11 1996/08/27 10:46:52 downsj Exp $ */ +/* $OpenBSD: trap.c,v 1.12 1996/10/17 13:36:45 deraadt Exp $ */ /* $NetBSD: trap.c,v 1.95 1996/05/05 06:50:02 mycroft Exp $ */ #undef DEBUG @@ -280,6 +280,9 @@ trap(frame) #endif case T_SEGNPFLT|T_USER: case T_STKFLT|T_USER: + trapsignal(p, SIGSEGV, type &~ T_USER); + goto out; + case T_ALIGNFLT|T_USER: trapsignal(p, SIGBUS, type &~ T_USER); goto out; |