[PULL 0/2] linux-user: Create a common rewind_if_in_safe_syscall

Richard Henderson posted 2 patches 2 years, 4 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20211123085030.465072-1-richard.henderson@linaro.org
linux-user/host/aarch64/host-signal.h |  5 +++++
linux-user/host/aarch64/hostdep.h     | 20 --------------------
linux-user/host/alpha/host-signal.h   |  5 +++++
linux-user/host/arm/host-signal.h     |  5 +++++
linux-user/host/arm/hostdep.h         | 20 --------------------
linux-user/host/i386/host-signal.h    |  5 +++++
linux-user/host/i386/hostdep.h        | 20 --------------------
linux-user/host/mips/host-signal.h    |  5 +++++
linux-user/host/ppc/host-signal.h     |  5 +++++
linux-user/host/ppc64/hostdep.h       | 20 --------------------
linux-user/host/riscv/host-signal.h   |  5 +++++
linux-user/host/riscv/hostdep.h       | 20 --------------------
linux-user/host/s390/host-signal.h    |  5 +++++
linux-user/host/s390x/hostdep.h       | 20 --------------------
linux-user/host/sparc/host-signal.h   |  9 +++++++++
linux-user/host/x86_64/host-signal.h  |  5 +++++
linux-user/host/x86_64/hostdep.h      | 20 --------------------
linux-user/safe-syscall.h             |  3 +++
linux-user/signal.c                   | 15 ++++++++++++---
19 files changed, 69 insertions(+), 143 deletions(-)
[PULL 0/2] linux-user: Create a common rewind_if_in_safe_syscall
Posted by Richard Henderson 2 years, 4 months ago
The following changes since commit 6d9c9603ad2ffdbf2aae3f01955c17591287cb4c:

  Merge tag 'pull-target-arm-20211122-1' of https://git.linaro.org/people/pmaydell/qemu-arm into staging (2021-11-23 01:41:05 +0100)

are available in the Git repository at:

  https://gitlab.com/rth7680/qemu.git tags/pull-lu-20211123

for you to fetch changes up to 07637888687bfecf3c0cc8351c5c24f29a611691:

  linux-user/signal.c: Create a common rewind_if_in_safe_syscall (2021-11-23 01:47:20 +0100)

----------------------------------------------------------------
Create common rewind_if_in_safe_syscall function.
Resolves pointer type issues with uc_mcontext.pc
on aarch64 between glibc and musl.

----------------------------------------------------------------
Warner Losh (2):
      linux-user: Add host_signal_set_pc to set pc in mcontext
      linux-user/signal.c: Create a common rewind_if_in_safe_syscall

 linux-user/host/aarch64/host-signal.h |  5 +++++
 linux-user/host/aarch64/hostdep.h     | 20 --------------------
 linux-user/host/alpha/host-signal.h   |  5 +++++
 linux-user/host/arm/host-signal.h     |  5 +++++
 linux-user/host/arm/hostdep.h         | 20 --------------------
 linux-user/host/i386/host-signal.h    |  5 +++++
 linux-user/host/i386/hostdep.h        | 20 --------------------
 linux-user/host/mips/host-signal.h    |  5 +++++
 linux-user/host/ppc/host-signal.h     |  5 +++++
 linux-user/host/ppc64/hostdep.h       | 20 --------------------
 linux-user/host/riscv/host-signal.h   |  5 +++++
 linux-user/host/riscv/hostdep.h       | 20 --------------------
 linux-user/host/s390/host-signal.h    |  5 +++++
 linux-user/host/s390x/hostdep.h       | 20 --------------------
 linux-user/host/sparc/host-signal.h   |  9 +++++++++
 linux-user/host/x86_64/host-signal.h  |  5 +++++
 linux-user/host/x86_64/hostdep.h      | 20 --------------------
 linux-user/safe-syscall.h             |  3 +++
 linux-user/signal.c                   | 15 ++++++++++++---
 19 files changed, 69 insertions(+), 143 deletions(-)

Re: [PULL 0/2] linux-user: Create a common rewind_if_in_safe_syscall
Posted by Richard Henderson 2 years, 4 months ago
On 11/23/21 9:50 AM, Richard Henderson wrote:
> The following changes since commit 6d9c9603ad2ffdbf2aae3f01955c17591287cb4c:
> 
>    Merge tag 'pull-target-arm-20211122-1' of https://git.linaro.org/people/pmaydell/qemu-arm into staging (2021-11-23 01:41:05 +0100)
> 
> are available in the Git repository at:
> 
>    https://gitlab.com/rth7680/qemu.git tags/pull-lu-20211123
> 
> for you to fetch changes up to 07637888687bfecf3c0cc8351c5c24f29a611691:
> 
>    linux-user/signal.c: Create a common rewind_if_in_safe_syscall (2021-11-23 01:47:20 +0100)
> 
> ----------------------------------------------------------------
> Create common rewind_if_in_safe_syscall function.
> Resolves pointer type issues with uc_mcontext.pc
> on aarch64 between glibc and musl.
> 
> ----------------------------------------------------------------
> Warner Losh (2):
>        linux-user: Add host_signal_set_pc to set pc in mcontext
>        linux-user/signal.c: Create a common rewind_if_in_safe_syscall
> 
>   linux-user/host/aarch64/host-signal.h |  5 +++++
>   linux-user/host/aarch64/hostdep.h     | 20 --------------------
>   linux-user/host/alpha/host-signal.h   |  5 +++++
>   linux-user/host/arm/host-signal.h     |  5 +++++
>   linux-user/host/arm/hostdep.h         | 20 --------------------
>   linux-user/host/i386/host-signal.h    |  5 +++++
>   linux-user/host/i386/hostdep.h        | 20 --------------------
>   linux-user/host/mips/host-signal.h    |  5 +++++
>   linux-user/host/ppc/host-signal.h     |  5 +++++
>   linux-user/host/ppc64/hostdep.h       | 20 --------------------
>   linux-user/host/riscv/host-signal.h   |  5 +++++
>   linux-user/host/riscv/hostdep.h       | 20 --------------------
>   linux-user/host/s390/host-signal.h    |  5 +++++
>   linux-user/host/s390x/hostdep.h       | 20 --------------------
>   linux-user/host/sparc/host-signal.h   |  9 +++++++++
>   linux-user/host/x86_64/host-signal.h  |  5 +++++
>   linux-user/host/x86_64/hostdep.h      | 20 --------------------
>   linux-user/safe-syscall.h             |  3 +++
>   linux-user/signal.c                   | 15 ++++++++++++---
>   19 files changed, 69 insertions(+), 143 deletions(-)

Applied.

r~