qemu/linux-user/ppc
Ilya Leoshkevich 8704132805 linux-user/ppc: Fix sigmask endianness issue in sigreturn
do_setcontext() copies the target sigmask without endianness handling
and then uses target_to_host_sigset_internal(), which expects a
byte-swapped one. Use target_to_host_sigset() instead.

Fixes: bcd4933a23 ("linux-user: ppc signal handling")
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20241017125811.447961-2-iii@linux.ibm.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2024-10-22 13:45:03 -07:00
..
cpu_loop.c
Makefile.vdso
meson.build
signal.c linux-user/ppc: Fix sigmask endianness issue in sigreturn 2024-10-22 13:45:03 -07:00
sockbits.h
syscall.tbl
syscallhdr.sh
target_cpu.h
target_elf.h
target_errno_defs.h
target_fcntl.h
target_mman.h
target_prctl.h
target_proc.h
target_resource.h
target_signal.h
target_structs.h
target_syscall.h
termbits.h
vdso-32.ld
vdso-32.so
vdso-64.ld
vdso-64.so
vdso-64le.so
vdso-asmoffset.h
vdso.S