diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2007-10-15 09:24:32 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2007-10-15 09:24:32 +0000 |
commit | 7326d90b30b32a9e08996a8ce23095668081e97b (patch) | |
tree | 22fc8e456d68f0888a401d8e48c66ab375d50644 /sys/arch | |
parent | 1f9c5acd427df3289f50f6be40ba26bdb55c935c (diff) |
catch privileged actions as well; hint from miod@
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/sparc64/sparc64/trap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/sparc64/sparc64/trap.c b/sys/arch/sparc64/sparc64/trap.c index 319e7d7ea66..48d07c2246e 100644 --- a/sys/arch/sparc64/sparc64/trap.c +++ b/sys/arch/sparc64/sparc64/trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.c,v 1.54 2007/09/22 20:04:51 kettenis Exp $ */ +/* $OpenBSD: trap.c,v 1.55 2007/10/15 09:24:31 fgsch Exp $ */ /* $NetBSD: trap.c,v 1.73 2001/08/09 01:03:01 eeh Exp $ */ /* @@ -539,6 +539,7 @@ badtrap: case T_INST_EXCEPT: case T_TEXTFAULT: case T_PRIVINST: + case T_PRIVACT: KERNEL_PROC_LOCK(p); trapsignal(p, SIGILL, 0, ILL_ILLOPC, sv); /* XXX code? */ KERNEL_PROC_UNLOCK(p); |