From 412fcd98567151682101136bb64d17fbb301dda1 Mon Sep 17 00:00:00 2001 From: Doug Rabson Date: Fri, 9 Nov 2001 13:11:17 +0000 Subject: [PATCH] Raise SIGILL for General Exceptions - its closer to the correct meaning. --- sys/ia64/ia64/trap.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sys/ia64/ia64/trap.c b/sys/ia64/ia64/trap.c index 3b024ed18197..2e4c92ac0d41 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) {