From: Laurent Vivier <laurent@vivier.eu>
To: qemu-devel@nongnu.org
Cc: Laurent Vivier <laurent@vivier.eu>
Subject: [Qemu-devel] [PATCH 3/3] m68k,linux-user: enable sigaltstack()
Date: Wed, 22 Jul 2009 10:47:40 +0200 [thread overview]
Message-ID: <1248252460-6699-4-git-send-email-laurent@vivier.eu> (raw)
In-Reply-To: <1248252460-6699-3-git-send-email-laurent@vivier.eu>
As setup_frame() and setup_rt_frame() are now implemented we can now
enable sigaltstack().
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
linux-user/syscall.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 7b57323..12642b6 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -6100,7 +6100,8 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
goto unimplemented;
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_SPARC) || defined(TARGET_PPC) || defined(TARGET_ALPHA) || \
+ defined(TARGET_M68K)
ret = do_sigaltstack(arg1, arg2, get_sp_from_cpustate((CPUState *)cpu_env));
break;
#else
--
1.5.6.5
prev parent reply other threads:[~2009-07-22 8:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-22 8:47 [Qemu-devel] [PATCH 0/3] m68k,linux-user: signal management Laurent Vivier
2009-07-22 8:47 ` [Qemu-devel] [PATCH 1/3] m68k,linux-user: add setup_frame Laurent Vivier
2009-07-22 8:47 ` [Qemu-devel] [PATCH 2/3] m68k,linux-user: add setup_rt_frame Laurent Vivier
2009-07-22 8:47 ` Laurent Vivier [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1248252460-6699-4-git-send-email-laurent@vivier.eu \
--to=laurent@vivier.eu \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).