v1: Unfortunately lost. v2: https://lore.kernel.org/qemu-devel/20240212205022.242968-1-...@linux.ibm.com/ v2 -> v3: Make the mapping configurable (Richard).
Hi, There are apps out there that want to use SIGRTMAX, which linux-user currently does not map to a host signal. The reason is that with the current approach it's not possible to map all target signals, so it was decided to sacrifice the end of the range. This series improves the situation by making the mapping configurable. Patch 1 is the implementation, patch 2 is a test. Best regards, Ilya Ilya Leoshkevich (2): linux-user: Allow custom rt signal mappings tests/tcg: Add SIGRTMIN/SIGRTMAX test linux-user/main.c | 12 +- linux-user/signal-common.h | 2 +- linux-user/signal.c | 108 ++++++++++++++---- meson.build | 3 +- meson_options.txt | 2 + scripts/meson-buildoptions.sh | 2 + tests/tcg/Makefile.target | 4 +- tests/tcg/multiarch/linux/linux-sigrtminmax.c | 74 ++++++++++++ 8 files changed, 182 insertions(+), 25 deletions(-) create mode 100644 tests/tcg/multiarch/linux/linux-sigrtminmax.c -- 2.47.0