diff options
author | Roman I Khimov <khimov@altell.ru> | 2010-03-08 11:50:21 +0300 |
---|---|---|
committer | Roman I Khimov <khimov@altell.ru> | 2010-03-09 20:27:57 +0300 |
commit | 3d18f7dff9371a60034c6e7993046e8f018e013d (patch) | |
tree | 7181fd803a929eab54b1c9365a5f59373372f0e9 /recipes/qemu/qemu-0.12.3/11_signal_sigaction.patch | |
parent | c495ba7d82add2fb927e8206910965740d752a33 (diff) |
qemu: add version 0.12.3
qemu-native tested to compile on openSUSE 11.2 and Debian Lenny. Binary
locale generation tested for qemuarm/glibc, simpad/glibc,
x86-prescott/eglibc, efika/glibc.
Signed-off-by: Roman I Khimov <khimov@altell.ru>
Acked-by: Tom Rini <tom_rini@mentor.com>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
Diffstat (limited to 'recipes/qemu/qemu-0.12.3/11_signal_sigaction.patch')
-rw-r--r-- | recipes/qemu/qemu-0.12.3/11_signal_sigaction.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/recipes/qemu/qemu-0.12.3/11_signal_sigaction.patch b/recipes/qemu/qemu-0.12.3/11_signal_sigaction.patch new file mode 100644 index 0000000000..cd56541b71 --- /dev/null +++ b/recipes/qemu/qemu-0.12.3/11_signal_sigaction.patch @@ -0,0 +1,21 @@ +#DPATCHLEVEL=0 +--- +# linux-user/signal.c | 5 +++++ +# 1 file changed, 5 insertions(+) +# +Index: linux-user/signal.c +=================================================================== +--- linux-user/signal.c.orig 2008-04-24 20:15:55.000000000 +0100 ++++ linux-user/signal.c 2008-04-24 20:15:57.000000000 +0100 +@@ -512,6 +512,11 @@ + + if (sig < 1 || sig > TARGET_NSIG || sig == SIGKILL || sig == SIGSTOP) + return -EINVAL; ++ ++ /* no point doing the stuff as those are not allowed for sigaction */ ++ if ((sig == TARGET_SIGKILL) || (sig == TARGET_SIGSTOP)) ++ return -EINVAL; ++ + k = &sigact_table[sig - 1]; + #if defined(DEBUG_SIGNAL) + fprintf(stderr, "sigaction sig=%d act=0x%08x, oact=0x%08x\n", |