user: recursive signal delivery fix and test
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | linux-user: sigaltstack lock_user_struct missing unlocklinux-user/ | +14 | 1 reply | |
| 2/3 | bsd-user, linux-user: signal: recursive signal delivery fixbsd-user/ linux-user/ | +12 | 2 replies | |
| 3/3 | tests/tcg: add recursive signal delivery teststests/ | +226 | 1 reply |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by.
| Patch | Warner Losh | Peter Maydell |
|---|---|---|
| 1/3 | ||
| 2/3 | R-b | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] user: recursive signal delivery fix and test
I found this recursive delivery problem when testing new riscv vector state support patches (plus a minor lock user balance bug).
This or similar type of issue was fixed with 8bd3773cce1 but I couldn't see exactly what scenario that was addressing. Is there any other way a signal can be generated during handle_pending_signal()? The SIGTTIN case, perhaps?
Thanks,
Nick
Nicholas Piggin (3):
linux-user: sigaltstack lock_user_struct missing unlock bsd-user, linux-user: signal: recursive signal delivery fix tests/tcg: add recursive signal delivery tests
bsd-user/signal.c | 10 +- linux-user/signal.c | 36 +++--- tests/tcg/multiarch/badsig.c | 226 +++++++++++++++++++++++++++++++++++ 3 files changed, 252 insertions(+), 20 deletions(-) create mode 100644 tests/tcg/multiarch/badsig.c
Signature · 1 line
2.51.0