[kernel] r14558 - in dists/etch-security/linux-2.6.24/debian: . patches/bugfix/mips patches/series

Dann Frazier dannf at alioth.debian.org
Wed Nov 4 22:36:43 UTC 2009


Author: dannf
Date: Wed Nov  4 22:36:41 2009
New Revision: 14558

Log:
merge in 2.6.24-6~etchnhalf.9 to avoid another o-p-u update

Added:
   dists/etch-security/linux-2.6.24/debian/patches/bugfix/mips/inexistent-syscalls.patch
   dists/etch-security/linux-2.6.24/debian/patches/series/6~etchnhalf.9
   dists/etch-security/linux-2.6.24/debian/patches/series/6~etchnhalf.9etch1
      - copied unchanged from r14557, dists/etch-security/linux-2.6.24/debian/patches/series/6~etchnhalf.8etch4
Deleted:
   dists/etch-security/linux-2.6.24/debian/patches/series/6~etchnhalf.8etch4
Modified:
   dists/etch-security/linux-2.6.24/debian/changelog

Modified: dists/etch-security/linux-2.6.24/debian/changelog
==============================================================================
--- dists/etch-security/linux-2.6.24/debian/changelog	Wed Nov  4 21:29:29 2009	(r14557)
+++ dists/etch-security/linux-2.6.24/debian/changelog	Wed Nov  4 22:36:41 2009	(r14558)
@@ -1,4 +1,4 @@
-linux-2.6.24 (2.6.24-6~etchnhalf.8etch4) UNRELEASED; urgency=high
+linux-2.6.24 (2.6.24-6~etchnhalf.9etch1) UNRELEASED; urgency=high
 
   * [parisc] isa-eeprom - Fix loff_t usage (CVE-2009-2846)
   * do_sigaltstack: avoid copying 'stack_t' as a structure to user space
@@ -30,6 +30,13 @@
 
  -- dann frazier <dannf at debian.org>  Tue, 27 Oct 2009 22:41:25 -0600
 
+linux-2.6.24 (2.6.24-6~etchnhalf.9) oldstable; urgency=high
+
+  [ Aurelien Jarno ]
+  * [mips/mipsel] Fix errno on inexistent syscalls. (Closes: #520100).
+
+ -- dann frazier <dannf at debian.org>  Sun, 17 May 2009 23:37:31 -0600
+
 linux-2.6.24 (2.6.24-6~etchnhalf.8etch3) oldstable-security; urgency=high
 
   * Make sock_sendpage() use kernel_sendpage() (CVE-2009-2692)

Added: dists/etch-security/linux-2.6.24/debian/patches/bugfix/mips/inexistent-syscalls.patch
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ dists/etch-security/linux-2.6.24/debian/patches/bugfix/mips/inexistent-syscalls.patch	Wed Nov  4 22:36:41 2009	(r14558)
@@ -0,0 +1,83 @@
+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
+@@ -180,7 +180,7 @@ bad_stack:
+ 	 * 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
+@@ -293,7 +293,7 @@ bad_alignment:
+ 	jr	t2
+ 	/* Unreached */
+ 
+-einval:	li	v0, -EINVAL
++einval:	li	v0, -ENOSYS
+ 	jr	ra
+ 	END(sys_syscall)
+ 
+commit c6cb4df96fa22d1174d6fb6dfc2c7501d7afaeea
+Author: David Daney <ddaney at caviumnetworks.com>
+Date:   Fri Oct 31 11:23:09 2008 -0700
+
+    MIPS: Return ENOSYS from sys32_syscall on 64bit kernels like elsewhere.
+    
+    When the o32 errno was changed to ENOSYS, we forgot to update the code
+    for 64bit kernels.
+    
+    Signed-off-by: David Daney <ddaney at caviumnetworks.com>
+    Acked-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/scall64-o32.S b/arch/mips/kernel/scall64-o32.S
+index 3d55e3b..fefef4a 100644
+--- a/arch/mips/kernel/scall64-o32.S
++++ b/arch/mips/kernel/scall64-o32.S
+@@ -196,7 +196,7 @@ LEAF(sys32_syscall)
+ 	jr	t2
+ 	/* Unreached */
+ 
+-einval:	li	v0, -EINVAL
++einval:	li	v0, -ENOSYS
+ 	jr	ra
+ 	END(sys32_syscall)
+ 

Added: dists/etch-security/linux-2.6.24/debian/patches/series/6~etchnhalf.9
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ dists/etch-security/linux-2.6.24/debian/patches/series/6~etchnhalf.9	Wed Nov  4 22:36:41 2009	(r14558)
@@ -0,0 +1 @@
++ bugfix/mips/inexistent-syscalls.patch

Copied: dists/etch-security/linux-2.6.24/debian/patches/series/6~etchnhalf.9etch1 (from r14557, dists/etch-security/linux-2.6.24/debian/patches/series/6~etchnhalf.8etch4)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ dists/etch-security/linux-2.6.24/debian/patches/series/6~etchnhalf.9etch1	Wed Nov  4 22:36:41 2009	(r14558, copy of r14557, dists/etch-security/linux-2.6.24/debian/patches/series/6~etchnhalf.8etch4)
@@ -0,0 +1,24 @@
++ bugfix/hppa/isa-eeprom-fix-loff_t-usage.patch
++ bugfix/all/do_sigaltstack-avoid-copying-stack_t-as-a-structure-to-userspace.patch
++ bugfix/all/execve-must-clear-current-clear_child_tid.patch
++ bugfix/all/md-avoid-NULL-deref-with-suspend-sysfs-attribs.patch
++ bugfix/all/appletalk-use-correct-returns-for-atalk_rcv.patch
++ bugfix/all/appletalk-fix-skb-leak-when-ipddp-interface-is-not-loaded.patch
++ bugfix/all/ecryptfs-prevent-lower-dentry-from-going-negative-during-unlink.patch
++ bugfix/all/fs-pipe-null-pointer-dereference.patch
++ bugfix/all/af_unix-fix-deadlock-on-connecting-to-shutdown-socket.patch
++ bugfix/all/drm+r128-Add-test-for-init-to-all-reqd-ioctls.patch
++ bugfix/all/r8169-balance-pci_map-pci_unmap-pair.patch
++ bugfix/all/r8169-use-hardware-auto-padding.patch
++ bugfix/all/net-ax25-fix-signed-comparison-in-the-sockopt-handler.patch
++ bugfix/x86-64-slightly-stream-line-32-bit-syscall-entry-code.patch
++ bugfix/don-t-leak-64-bit-kernel-register-values-to-32-bit-processes.patch
++ bugfix/all/net-llc-zero-sockaddr_llc-struct.patch
++ bugfix/all/irda-fix-irda_getname-leak.patch
++ bugfix/all/rose-fix-rose_getname-leak.patch
++ bugfix/all/econet-fix-econet_getname-leak.patch
++ bugfix/all/netrom-fix-nr_getname-leak.patch
++ bugfix/all/tc-fix-pad-leak.patch
++ bugfix/all/random-make-get_random_int-more-random.patch
++ bugfix/all/nfsd4-de-union-iattr-and-verf.patch
++ bugfix/all/netlink-fix-typo-in-initialization.patch



More information about the Kernel-svn-changes mailing list