From: Helge Deller <deller@gmx.de>
The following changes since commit f71afb409a87c4ecd0f9d63a5963eb645dfab780:
Merge tag 'pull-loongarch-20261105' of https://github.com/bibo-mao/qemu into staging (2026-11-05 07:24:53 -0800)
are available in the Git repository at:
https://github.com/hdeller/qemu-hppa.git tags/linux-user-next-pull-request
for you to fetch changes up to fadeabfa77834f7f0e5150bea30c6f0e52dc2b5f:
linux-user: report EFAULT for a NULL sysinfo/getitimer buffer (2026-11-05 23:43:50 +0100)
----------------------------------------------------------------
linux user patches
Two last patches from TAKANO Mitsuhiro for linux-user to return EFAULT for
getrandom(), sysinfo() and getitimer() syscalls when called with NULL pointers.
----------------------------------------------------------------
TAKANO Mitsuhiro (2):
linux-user: allow a zero-length getrandom with a NULL buffer
linux-user: report EFAULT for a NULL sysinfo/getitimer buffer
linux-user/syscall.c | 12 ++++-
tests/tcg/multiarch/linux/linux-null-buffer.c | 48 +++++++++++++++++++
tests/tcg/multiarch/meson.build | 1 +
3 files changed, 59 insertions(+), 2 deletions(-)
create mode 100644 tests/tcg/multiarch/linux/linux-null-buffer.c
--
2.54.0