[kernel] r13147 - in dists/lenny/linux-2.6/debian: . patches/bugfix/mips patches/series
Aurelien Jarno
aurel32 at alioth.debian.org
Tue Mar 17 11:04:32 UTC 2009
Author: aurel32
Date: Tue Mar 17 11:04:29 2009
New Revision: 13147
Log:
[ Aurelien Jarno ]
* [mips/mipsel] Fix errno on inexistent syscalls. (Closes: #520034).
Added:
dists/lenny/linux-2.6/debian/patches/bugfix/mips/inexistent-syscalls.patch
Modified:
dists/lenny/linux-2.6/debian/changelog
dists/lenny/linux-2.6/debian/patches/series/14
Modified: dists/lenny/linux-2.6/debian/changelog
==============================================================================
--- dists/lenny/linux-2.6/debian/changelog (original)
+++ dists/lenny/linux-2.6/debian/changelog Tue Mar 17 11:04:29 2009
@@ -42,6 +42,9 @@
[ Ian Campbell ]
* [nfs] Backport upstream patches to fix NFS "task blocked for more than 120
seconds" issue (Closes: #518431)
+
+ [ Aurelien Jarno ]
+ * [mips/mipsel] Fix errno on inexistent syscalls. (Closes: #520034).
-- dann frazier <dannf at debian.org> Tue, 17 Mar 2009 01:50:17 -0600
Added: dists/lenny/linux-2.6/debian/patches/bugfix/mips/inexistent-syscalls.patch
==============================================================================
--- (empty file)
+++ dists/lenny/linux-2.6/debian/patches/bugfix/mips/inexistent-syscalls.patch Tue Mar 17 11:04:29 2009
@@ -0,0 +1,57 @@
+commit bda8229bdd087167f463ad5e74299987924f8137
+Author: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
+Date: Sat Oct 25 01:17:22 2008 +0900
+
+ MIPS: Set positive error number to errno on illegal_syscall
+
+ Signed-off-by: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
+ Signed-off-by: Ralf Baechle <ralf at linux-mips.org>
+
+diff --git a/arch/mips/kernel/scall32-o32.S b/arch/mips/kernel/scall32-o32.S
+index 5e75a31..ffa23bd 100644
+--- a/arch/mips/kernel/scall32-o32.S
++++ b/arch/mips/kernel/scall32-o32.S
+@@ -184,7 +184,7 @@
+ * The system call does not exist in this kernel
+ */
+ illegal_syscall:
+- li v0, -ENOSYS # error
++ li v0, ENOSYS # error
+ sw v0, PT_R2(sp)
+ li t0, 1 # set error flag
+ sw t0, PT_R7(sp)
+diff --git a/arch/mips/kernel/scall64-64.S b/arch/mips/kernel/scall64-64.S
+index 3d58204..a9e1716 100644
+--- a/arch/mips/kernel/scall64-64.S
++++ b/arch/mips/kernel/scall64-64.S
+@@ -117,7 +117,7 @@ syscall_trace_entry:
+
+ illegal_syscall:
+ /* This also isn't a 64-bit syscall, throw an error. */
+- li v0, -ENOSYS # error
++ li v0, ENOSYS # error
+ sd v0, PT_R2(sp)
+ li t0, 1 # set error flag
+ sd t0, PT_R7(sp)
+commit fb498e2570eedc6c9c3d165e370624dfc3aed97b
+Author: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
+Date: Sat Oct 25 01:17:23 2008 +0900
+
+ MIPS: Set ENOSYS to errno on illegal system call number for syscall(2)
+
+ Signed-off-by: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
+ Signed-off-by: Ralf Baechle <ralf at linux-mips.org>
+
+diff --git a/arch/mips/kernel/scall32-o32.S b/arch/mips/kernel/scall32-o32.S
+index ffa23bd..759f680 100644
+--- a/arch/mips/kernel/scall32-o32.S
++++ b/arch/mips/kernel/scall32-o32.S
+@@ -305,7 +305,7 @@ bad_alignment:
+ jr t2
+ /* Unreached */
+
+-einval: li v0, -EINVAL
++einval: li v0, -ENOSYS
+ jr ra
+ END(sys_syscall)
+
Modified: dists/lenny/linux-2.6/debian/patches/series/14
==============================================================================
--- dists/lenny/linux-2.6/debian/patches/series/14 (original)
+++ dists/lenny/linux-2.6/debian/patches/series/14 Tue Mar 17 11:04:29 2009
@@ -20,3 +20,4 @@
+ bugfix/all/svc-Clean-up-deferred-requests-on-transport-destruc.patch
+ bugfix/all/usb-unusual-dev-kyocera-contax-sl300r-t.patch
+ bugfix/all/alsa-caiaq-fix-oops-with-midi.patch
++ bugfix/mips/inexistent-syscalls.patch
More information about the Kernel-svn-changes
mailing list