diff options
author | Andreas Schwab <schwab@suse.de> | 2025-02-10 13:59:34 +0100 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2025-02-18 08:29:03 -0800 |
commit | 513823e7521a09ed7ad1e32e6454bac3b2cbf52d (patch) | |
tree | e74159bedbfedd2fff8ca72a9142aab9aff217c8 /scripts/qapi/commands.py | |
parent | 4b7b20a3b72c5000ea71bef505c16e6e628268b6 (diff) | |
download | qemu-513823e7521a09ed7ad1e32e6454bac3b2cbf52d.zip qemu-513823e7521a09ed7ad1e32e6454bac3b2cbf52d.tar.gz qemu-513823e7521a09ed7ad1e32e6454bac3b2cbf52d.tar.bz2 |
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>
Diffstat (limited to 'scripts/qapi/commands.py')
0 files changed, 0 insertions, 0 deletions