[PATCH 0/2] linux-user: Fix unaligned memory access in prlimit64 syscall

Ilya Leoshkevich posted 2 patches 2 years, 2 months ago
There is a newer version of this series
linux-user/syscall.c                        | 12 +++--
tests/tcg/multiarch/linux/linux-fork-trap.c | 51 +++++++++++++++++++++
2 files changed, 58 insertions(+), 5 deletions(-)
create mode 100644 tests/tcg/multiarch/linux/linux-fork-trap.c
[PATCH 0/2] linux-user: Fix unaligned memory access in prlimit64 syscall
Posted by Ilya Leoshkevich 2 years, 2 months ago
Hi,

Richard reported [1] that the new linux-fork-trap test was failing
under UBSan [2], so it was excluded from the PR.

This is a resend of the test plus the fix for the additional issue that
it uncovered.

[1] https://lists.gnu.org/archive/html/qemu-devel/2023-02/msg06130.html
[2] https://gitlab.com/qemu-project/qemu/-/jobs/3807471447#L5064

Best regards,
Ilya

Ilya Leoshkevich (2):
  linux-user: Fix unaligned memory access in prlimit64 syscall
  tests/tcg/linux-test: Add linux-fork-trap test

 linux-user/syscall.c                        | 12 +++--
 tests/tcg/multiarch/linux/linux-fork-trap.c | 51 +++++++++++++++++++++
 2 files changed, 58 insertions(+), 5 deletions(-)
 create mode 100644 tests/tcg/multiarch/linux/linux-fork-trap.c

-- 
2.39.1