summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfgsch <fgsch@openbsd.org>2007-10-15 09:24:31 +0000
committerfgsch <fgsch@openbsd.org>2007-10-15 09:24:31 +0000
commit8b40f9c2aa1cae31bc5d916b0fc5e4913a16b4c4 (patch)
tree3181e328d1b5d5a9953bbf2fe089c3f2177b664a
parentAllow ntpd to report the status of peers and sensors to syslog. This (diff)
downloadwireguard-openbsd-8b40f9c2aa1cae31bc5d916b0fc5e4913a16b4c4.tar.xz
wireguard-openbsd-8b40f9c2aa1cae31bc5d916b0fc5e4913a16b4c4.zip
catch privileged actions as well; hint from miod@
-rw-r--r--sys/arch/sparc64/sparc64/trap.c3
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);