diff options
author | Ed Swierk | 2014-12-16 21:55:18 +0100 |
---|---|---|
committer | Riku Voipio | 2015-01-27 21:33:57 +0100 |
commit | ec355f15476fe91b95c4326836d3fe572d8075e1 (patch) | |
tree | 54df79d80e93aececc63e127840ae35cf2bc0002 /linux-user/mips64 | |
parent | linux-user: Fix ioctl cmd type mismatch on 64-bit targets (diff) | |
download | qemu-ec355f15476fe91b95c4326836d3fe572d8075e1.tar.gz qemu-ec355f15476fe91b95c4326836d3fe572d8075e1.tar.xz qemu-ec355f15476fe91b95c4326836d3fe572d8075e1.zip |
mips64-linux-user: Fix definition of struct sigaltstack
Without this fix, qemu segfaults when emulating the sigaltstack syscall,
because it incorrectly treats the ss_flags field as 64 bits rather than 32
bits.
Signed-off-by: Ed Swierk <eswierk@skyportsystems.com>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'linux-user/mips64')
-rw-r--r-- | linux-user/mips64/target_signal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/mips64/target_signal.h b/linux-user/mips64/target_signal.h index 6e1dc8b6e6..5fb6a2ccfc 100644 --- a/linux-user/mips64/target_signal.h +++ b/linux-user/mips64/target_signal.h @@ -8,7 +8,7 @@ typedef struct target_sigaltstack { abi_long ss_sp; abi_ulong ss_size; - abi_long ss_flags; + abi_int ss_flags; } target_stack_t; |