]> git.proxmox.com Git - mirror_qemu.git/commitdiff
mips64-linux-user: Fix definition of struct sigaltstack
authorEd Swierk <eswierk@skyportsystems.com>
Tue, 16 Dec 2014 20:55:18 +0000 (12:55 -0800)
committerRiku Voipio <riku.voipio@linaro.org>
Tue, 27 Jan 2015 20:33:57 +0000 (22:33 +0200)
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>
linux-user/mips64/target_signal.h

index 6e1dc8b6e61f5c8244a13acb1f6b0cab3a400949..5fb6a2ccfc4433830f191fc241453d49e1c080cb 100644 (file)
@@ -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;