diff options
author | Michael Tokarev <mjt@tls.msk.ru> | 2015-12-29 12:51:13 +0300 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2019-11-29 19:28:22 -0600 |
commit | df90d9bf968d1030d0b751b3adb82662d57c923c (patch) | |
tree | 7c3078598037d547b43cc920cadc8fc08b8b23aa /linux-user | |
parent | fc536c256b031dbec58c1a4777621da50d5d174a (diff) | |
download | hqemu-df90d9bf968d1030d0b751b3adb82662d57c923c.zip hqemu-df90d9bf968d1030d0b751b3adb82662d57c923c.tar.gz |
linux-user: enable sigaltstack for all architectures
There is no reason to limit sigaltstack syscall to just a few
architectures and pretend it is not implemented for others.
If some architecture is not ready for this, that architecture
should be fixed instead.
This fixes LP#1516408.
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'linux-user')
-rw-r--r-- | linux-user/syscall.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 1630f8f..1898794 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -8514,14 +8514,8 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1, break; } case TARGET_NR_sigaltstack: -#if defined(TARGET_I386) || defined(TARGET_ARM) || defined(TARGET_MIPS) || \ - defined(TARGET_SPARC) || defined(TARGET_PPC) || defined(TARGET_ALPHA) || \ - defined(TARGET_M68K) || defined(TARGET_S390X) || defined(TARGET_OPENRISC) ret = do_sigaltstack(arg1, arg2, get_sp_from_cpustate((CPUArchState *)cpu_env)); break; -#else - goto unimplemented; -#endif #ifdef CONFIG_SENDFILE case TARGET_NR_sendfile: |