]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
3.0-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 19 May 2012 00:59:17 +0000 (17:59 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 19 May 2012 00:59:17 +0000 (17:59 -0700)
added patches:
ia64-add-accept4-syscall.patch

queue-3.0/ia64-add-accept4-syscall.patch [new file with mode: 0644]
queue-3.0/series

diff --git a/queue-3.0/ia64-add-accept4-syscall.patch b/queue-3.0/ia64-add-accept4-syscall.patch
new file mode 100644 (file)
index 0000000..5d736a6
--- /dev/null
@@ -0,0 +1,57 @@
+From 65cc21b4523e94d5640542a818748cd3be8cd6b4 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?=C3=89meric=20Maschino?= <emeric.maschino@gmail.com>
+Date: Mon, 9 Jan 2012 12:55:10 -0800
+Subject: ia64: Add accept4() syscall
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+From: Émeric Maschino <emeric.maschino@gmail.com>
+
+commit 65cc21b4523e94d5640542a818748cd3be8cd6b4 upstream.
+
+While debugging udev > 170 failure on Debian Wheezy
+(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648325), it appears
+that the issue was in fact due to missing accept4() in ia64.
+
+This patch simply adds accept4() to ia64.
+
+Signed-off-by: Émeric Maschino <emeric.maschino@gmail.com>
+Signed-off-by: Tony Luck <tony.luck@intel.com>
+Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+
+---
+ arch/ia64/include/asm/unistd.h |    3 ++-
+ arch/ia64/kernel/entry.S       |    3 +++
+ 2 files changed, 5 insertions(+), 1 deletion(-)
+
+--- a/arch/ia64/include/asm/unistd.h
++++ b/arch/ia64/include/asm/unistd.h
+@@ -321,11 +321,12 @@
+ #define __NR_syncfs                   1329
+ #define __NR_setns                    1330
+ #define __NR_sendmmsg                 1331
++#define __NR_accept4                  1334
+ #ifdef __KERNEL__
+-#define NR_syscalls                   308 /* length of syscall table */
++#define NR_syscalls                   311 /* length of syscall table */
+ /*
+  * The following defines stop scripts/checksyscalls.sh from complaining about
+--- a/arch/ia64/kernel/entry.S
++++ b/arch/ia64/kernel/entry.S
+@@ -1777,6 +1777,9 @@ sys_call_table:
+       data8 sys_syncfs
+       data8 sys_setns                         // 1330
+       data8 sys_sendmmsg
++      data8 sys_ni_syscall    /* process_vm_readv */
++      data8 sys_ni_syscall    /* process_vm_writev */
++      data8 sys_accept4
+       .org sys_call_table + 8*NR_syscalls     // guard against failures to increase NR_syscalls
+ #endif /* __IA64_ASM_PARAVIRTUALIZED_NATIVE */
index 04c640b1309b48c37a9a031d41ee544880cdcbb8..006089e25393fd3ac8de8d5def2c09997417f132 100644 (file)
@@ -52,3 +52,4 @@ pch_gbe-support-ml7831-ioh.patch
 pch_gbe-fixed-the-issue-on-which-pc-was-frozen-when-link-was-downed.patch
 pch_gbe-do-not-abort-probe-on-bad-mac.patch
 pch_gbe-memory-corruption-calling-pch_gbe_validate_option.patch
+ia64-add-accept4-syscall.patch