linux-user: Add missing signals in strace output
commit7b72aa1d81d263c9d84bc02b89ea10892a08b451
authorHelge Deller <deller@gmx.de>
Sun, 18 Sep 2022 19:45:44 +0000 (18 21:45 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Tue, 27 Sep 2022 07:29:33 +0000 (27 09:29 +0200)
tree06f5409f27545779cc53bc394c6fc2aeed499b2e
parent65d4830dac7d88059ba77f1d31ec0c2f8f65ae28
linux-user: Add missing signals in strace output

Some of the guest signal numbers are currently not converted to
their representative names in the strace output, e.g. SIGVTALRM.

This patch introduces a smart way to generate and keep in sync the
host-to-guest and guest-to-host signal conversion tables for usage in
the qemu signal and strace code. This ensures that any signals
will now show up in both tables.

There is no functional change in this patch - with the exception that yet
missing signal names now show up in the strace code too.

Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20220918194555.83535-2-deller@gmx.de>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
linux-user/signal-common.h
linux-user/signal.c
linux-user/strace.c