Re: [PATCH 01/14] linux-user/sparc: Raise SIGILL for all unhandled software traps

2023-02-02 Thread Ilya Leoshkevich
On Wed, 2023-02-01 at 14:51 -1000, Richard Henderson wrote: > The linux kernel's trap tables vector all unassigned trap > numbers to BAD_TRAP, which then raises SIGILL. > > Reported-by: Ilya Leoshkevich > Signed-off-by: Richard Henderson > --- >  linux-user/sparc/cpu_loop.c | 8 >  1 fil

[PATCH 01/14] linux-user/sparc: Raise SIGILL for all unhandled software traps

2023-02-01 Thread Richard Henderson
The linux kernel's trap tables vector all unassigned trap numbers to BAD_TRAP, which then raises SIGILL. Reported-by: Ilya Leoshkevich Signed-off-by: Richard Henderson --- linux-user/sparc/cpu_loop.c | 8 1 file changed, 8 insertions(+) diff --git a/linux-user/sparc/cpu_loop.c b/linux