summaryrefslogtreecommitdiff
path: root/meta/packages/qemu/qemu-0.9.1/11_signal_sigaction.patch
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-01-09 11:16:08 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-01-09 11:16:08 +0000
commit3e5646fce1af97a8bde8a740da4ee0c58bf42ebd (patch)
tree2d5c0dc86ac168f2b3ae135d5d66ba84e36f9478 /meta/packages/qemu/qemu-0.9.1/11_signal_sigaction.patch
parent03e591a793512342acac958597047f34a9d5bfbe (diff)
downloadopenembedded-core-3e5646fce1af97a8bde8a740da4ee0c58bf42ebd.tar.gz
openembedded-core-3e5646fce1af97a8bde8a740da4ee0c58bf42ebd.tar.bz2
openembedded-core-3e5646fce1af97a8bde8a740da4ee0c58bf42ebd.tar.xz
openembedded-core-3e5646fce1af97a8bde8a740da4ee0c58bf42ebd.zip
qemu: upgrade CVS snapshot 20071230 to 0.9.1 release
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3435 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/qemu/qemu-0.9.1/11_signal_sigaction.patch')
-rw-r--r--meta/packages/qemu/qemu-0.9.1/11_signal_sigaction.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/packages/qemu/qemu-0.9.1/11_signal_sigaction.patch b/meta/packages/qemu/qemu-0.9.1/11_signal_sigaction.patch
new file mode 100644
index 000000000..33c5e8b12
--- /dev/null
+++ b/meta/packages/qemu/qemu-0.9.1/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 2007-12-03 23:47:44.000000000 +0000
++++ linux-user/signal.c 2007-12-03 23:47:46.000000000 +0000
+@@ -512,6 +512,11 @@ int do_sigaction(int sig, const struct t
+
+ 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",