[PATCH 0/2] linux-user/ppc: Fix sigmask endianness issue in sigreturn

Ilya Leoshkevich posted 2 patches 5 days, 7 hours ago
linux-user/ppc/signal.c                 |  2 +-
tests/tcg/multiarch/sigreturn-sigmask.c | 51 +++++++++++++++++++++++++
2 files changed, 52 insertions(+), 1 deletion(-)
create mode 100644 tests/tcg/multiarch/sigreturn-sigmask.c
[PATCH 0/2] linux-user/ppc: Fix sigmask endianness issue in sigreturn
Posted by Ilya Leoshkevich 5 days, 7 hours ago
Hi,

This series fixes an issue where an emulated ppc64le process running on
s390x attempting to wake up a sigwait()ing thread would instead
terminate itself. Patch 1 is the fix, patch 2 is a testcase extracted
from the real-world scenario.

Best regards,
Ilya

Ilya Leoshkevich (2):
  linux-user/ppc: Fix sigmask endianness issue in sigreturn
  tests/tcg: Test that sigreturn() does not corrupt the signal mask

 linux-user/ppc/signal.c                 |  2 +-
 tests/tcg/multiarch/sigreturn-sigmask.c | 51 +++++++++++++++++++++++++
 2 files changed, 52 insertions(+), 1 deletion(-)
 create mode 100644 tests/tcg/multiarch/sigreturn-sigmask.c

-- 
2.47.0
Re: [PATCH 0/2] linux-user/ppc: Fix sigmask endianness issue in sigreturn
Posted by Richard Henderson 2 hours ago
On 10/17/24 05:54, Ilya Leoshkevich wrote:
> Hi,
> 
> This series fixes an issue where an emulated ppc64le process running on
> s390x attempting to wake up a sigwait()ing thread would instead
> terminate itself. Patch 1 is the fix, patch 2 is a testcase extracted
> from the real-world scenario.
> 
> Best regards,
> Ilya
> 
> Ilya Leoshkevich (2):
>    linux-user/ppc: Fix sigmask endianness issue in sigreturn
>    tests/tcg: Test that sigreturn() does not corrupt the signal mask
> 
>   linux-user/ppc/signal.c                 |  2 +-
>   tests/tcg/multiarch/sigreturn-sigmask.c | 51 +++++++++++++++++++++++++
>   2 files changed, 52 insertions(+), 1 deletion(-)
>   create mode 100644 tests/tcg/multiarch/sigreturn-sigmask.c
> 

Queued, thanks.

r~