You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/linux-user/aarch64
Andreas Schwab 513823e752 linux-user: Move TARGET_SA_RESTORER out of generic/signal.h
SA_RESTORER and the associated sa_restorer field of struct sigaction are
an obsolete feature, not expected to be used by future architectures.
They are also absent on RISC-V, LoongArch, Hexagon and OpenRISC, but
defined due to their use of generic/signal.h.  This leads to corrupted
data and out-of-bounds accesses.

Move the definition of TARGET_SA_RESTORER out of generic/signal.h into the
target_signal.h files that need it.  Note that m68k has the sa_restorer
field, but does not use it and does not define SA_RESTORER.

Reported-by: Thomas Weißschuh <thomas@t-8ch.de>
Signed-off-by: Andreas Schwab <schwab@suse.de>
Reviewed-by: Thomas Weißschuh <thomas@t-8ch.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <mvmed060xc9.fsf@suse.de>
4 days ago
..
Makefile.vdso linux-user/aarch64: Reduce vdso alignment to 4k 3 months ago
cpu_loop.c user: Move 'linux-user/cpu_loop-common.h' -> 'user/cpu_loop.h' 2 months ago
meson.build linux-user,aarch64: move to syscalltbl file 5 months ago
mte_user_helper.c target/arm: Factor out code for setting MTE TCF0 field 8 months ago
mte_user_helper.h linux-user/aarch64: Include missing 'user/abitypes.h' header 2 months ago
signal.c linux-user: Move tswap_siginfo out of target code 12 months ago
sockbits.h linux-user: move socket.h generic definitions to generic/sockbits.h 7 years ago
syscall_64.tbl linux-user,aarch64: move to syscalltbl file 5 months ago
syscall_nr.h linux-user,aarch64: move to syscalltbl file 5 months ago
syscallhdr.sh linux-user,aarch64: move to syscalltbl file 5 months ago
target_cpu.h linux-user/aarch64: Clear tpidr2_el0 if CLONE_SETTLS 3 years ago
target_elf.h linux-user: Move CPU type name selection to a function 7 years ago
target_errno_defs.h linux-user: Extract target errno to 'target_errno_defs.h' 4 years ago
target_fcntl.h linux-user: move arm/aarch64/m68k fcntl definitions to [arm|aarch64|m68k]/target_fcntl.h 7 years ago
target_flat.h linux-user: move target_flat.h to target subdirs 2 years ago
target_mman.h linux-user: Define ELF_ET_DYN_BASE in $guest/target_mman.h 2 years ago
target_prctl.h target/arm: Factor out code for setting MTE TCF0 field 8 months ago
target_proc.h linux-user: Emulate /proc/cpuinfo on aarch64 and arm 1 year ago
target_resource.h linux-user: Move generic TARGET_RLIMIT* definitions to generic/target_resource.h 3 years ago
target_signal.h linux-user: Move TARGET_SA_RESTORER out of generic/signal.h 4 days ago
target_structs.h linux-user: Move target_struct.h generic definitions to generic/ 3 years ago
target_syscall.h Replace TARGET_WORDS_BIGENDIAN 3 years ago
termbits.h linux-user: Add generic 'termbits.h' for some archs 5 years ago
vdso-be.so linux-user/aarch64: Reduce vdso alignment to 4k 3 months ago
vdso-le.so linux-user/aarch64: Reduce vdso alignment to 4k 3 months ago
vdso.S linux-user/aarch64: Add padding before __kernel_rt_sigreturn 1 year ago
vdso.ld linux-user/aarch64: Add vdso 1 year ago