diff options
author | dfr <dfr@FreeBSD.org> | 2001-11-09 13:11:17 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 2001-11-09 13:11:17 +0000 |
commit | d9d0c4cb65534919eddfd7d09fd0ff08b5cff41a (patch) | |
tree | 3c5c14b5a92e1586cc675b2cfbdd989a70c701a1 /sys | |
parent | 79e8ac2aeaed72cc8b176a573b5bb8512619caac (diff) | |
download | FreeBSD-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.c | 7 |
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) { |