]> git.proxmox.com Git - mirror_qemu.git/commit
linux-user/sparc: Raise SIGILL for all unhandled software traps
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 1 Feb 2023 20:56:15 +0000 (10:56 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 21 Feb 2023 18:44:13 +0000 (08:44 -1000)
commit21a474c41d18eb56186e2022e8e081c2b6011bd3
tree8387b4abe102549bd518491e1ba636eb92499bf2
parent2627e4524ea6c6ba14f9d6b298e08c9d4d3cc4fe
linux-user/sparc: Raise SIGILL for all unhandled software traps

The linux kernel's trap tables vector all unassigned trap
numbers to BAD_TRAP, which then raises SIGILL.

Tested-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reported-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
linux-user/sparc/cpu_loop.c