Skip to content

linux-user: Allow mapping low priority rt signals

Ilya Leoshkevich qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 2 repliesIn review
  2. v22 patches 4 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2linux-user: Allow custom rt signal mappingslinux-user/main.c linux-user/signal-common.h linux-user/signal.c +3 more+106 -231 reply
2/2tests/tcg: Add SIGRTMIN/SIGRTMAX testtests/tcg/Makefile.target tests/tcg/multiarch/linux/linux-sigrtminmax.c+76 -20 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchRichard Henderson
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] linux-user: Allow mapping low priority rt signals

v1: Unfortunately lost.

v2: https://lore.kernel.org/qemu-devel/[email protected]/
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
Signature · 1 line
2.47.0