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/m68k
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>
2 months ago
..
cpu_loop.c user: Move 'linux-user/cpu_loop-common.h' -> 'user/cpu_loop.h' 4 months ago
meson.build
signal.c linux-user: Move tswap_siginfo out of target code 1 year ago
sockbits.h
syscall.tbl target/ppc: Fix lxvx/stxvx facility check 7 months ago
syscallhdr.sh license: Update deprecated SPDX tag GPL-2.0 to GPL-2.0-only 7 months ago
target_cpu.h {linux,bsd}-user: Introduce get_task_state() 1 year ago
target_elf.h
target_errno_defs.h
target_fcntl.h
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_proc.h linux-user: Split out cpu/target_proc.h 2 years ago
target_resource.h
target_signal.h linux-user: Move TARGET_SA_RESTORER out of generic/signal.h 2 months ago
target_structs.h
target_syscall.h
termbits.h