mirror of https://gitlab.com/qemu-project/qemu
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.
![]() 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 | |
---|---|---|
.. | ||
aarch64 | 4 days ago | |
alpha | 2 months ago | |
arm | 4 days ago | |
generic | 4 days ago | |
hexagon | 2 months ago | |
hppa | 2 months ago | |
i386 | 4 days ago | |
include | 2 years ago | |
loongarch64 | 2 months ago | |
m68k | 4 days ago | |
microblaze | 4 days ago | |
mips | 2 months ago | |
mips64 | 5 months ago | |
openrisc | 2 months ago | |
ppc | 4 days ago | |
riscv | 2 months ago | |
s390x | 4 days ago | |
sh4 | 4 days ago | |
sparc | 1 month ago | |
x86_64 | 4 days ago | |
xtensa | 4 days ago | |
elfload.c | 4 days ago | |
errnos.c.inc | 4 years ago | |
exit.c | 1 year ago | |
fd-trans.c | 4 weeks ago | |
fd-trans.h | 2 years ago | |
flat.h | 10 months ago | |
flatload.c | 2 months ago | |
gen-vdso-elfn.c.inc | 4 months ago | |
gen-vdso.c | 4 months ago | |
ioctls.h | 9 months ago | |
linux_loop.h | 3 years ago | |
linuxload.c | 12 months ago | |
loader.h | 1 year ago | |
main.c | 2 weeks ago | |
meson.build | 5 months ago | |
mmap.c | 2 months ago | |
qemu.h | 2 months ago | |
semihost.c | 3 years ago | |
signal-common.h | 2 weeks ago | |
signal.c | 2 weeks ago | |
socket.h | ||
strace.c | 3 months ago | |
strace.h | 3 years ago | |
strace.list | 4 months ago | |
syscall.c | 2 weeks ago | |
syscall_defs.h | 4 weeks ago | |
syscall_types.h | 10 months ago | |
thunk.c | 10 months ago | |
trace-events | 3 years ago | |
trace.h | ||
uaccess.c | 10 months ago | |
uname.c | 3 years ago | |
uname.h | 3 years ago | |
user-internals.h | 2 months ago | |
user-mmap.h | 1 year ago | |
vm86.c | 4 months ago |