summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>2001-11-09 13:11:17 +0000
committerdfr <dfr@FreeBSD.org>2001-11-09 13:11:17 +0000
commitd9d0c4cb65534919eddfd7d09fd0ff08b5cff41a (patch)
tree3c5c14b5a92e1586cc675b2cfbdd989a70c701a1 /sys
parent79e8ac2aeaed72cc8b176a573b5bb8512619caac (diff)
downloadFreeBSD-src-d9d0c4cb65534919eddfd7d09fd0ff08b5cff41a.zip
FreeBSD-src-d9d0c4cb65534919eddfd7d09fd0ff08b5cff41a.tar.gz
Raise SIGILL for General Exceptions - its closer to the correct meaning.
Diffstat (limited to 'sys')
-rw-r--r--sys/ia64/ia64/trap.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/ia64/ia64/trap.c b/sys/ia64/ia64/trap.c
index 3b024ed..2e4c92a 100644
--- a/sys/ia64/ia64/trap.c
+++ b/sys/ia64/ia64/trap.c
@@ -536,6 +536,13 @@ trap(int vector, int imm, struct trapframe *framep)
break;
case IA64_VEC_GENERAL_EXCEPTION:
+ if (user) {
+ ucode = vector;
+ i = SIGILL;
+ break;
+ }
+ goto dopanic;
+
case IA64_VEC_UNSUPP_DATA_REFERENCE:
case IA64_VEC_LOWER_PRIVILEGE_TRANSFER:
if (user) {
OpenPOWER on IntegriCloud