[kernel] r5261 - dists/sarge/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches

Simon Horman horms at costa.debian.org
Thu Jan 5 08:01:42 UTC 2006


Author: horms
Date: Thu Jan  5 08:01:42 2006
New Revision: 5261

Modified:
   dists/sarge/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/net-sdla-coverty.dpatch
Log:
net-sdla-coverty.dpatch was inadvertantly empty

Modified: dists/sarge/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/net-sdla-coverty.dpatch
==============================================================================
--- dists/sarge/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/net-sdla-coverty.dpatch	(original)
+++ dists/sarge/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/net-sdla-coverty.dpatch	Thu Jan  5 08:01:42 2006
@@ -0,0 +1,23 @@
+--- a/drivers/net/wan/sdla.c	2006-01-05 07:56:21.000000000 +0000
++++ b/drivers/net/wan/sdla.c	2006-01-05 07:57:14.000000000 +0000
+@@ -1306,6 +1306,8 @@
+ 
+ 		case SDLA_WRITEMEM:
+ 		case SDLA_READMEM:
++			if(!capable(CAP_SYS_RAWIO))
++				return -EPERM;
+ 			return(sdla_xfer(dev, ifr->ifr_data, cmd == SDLA_READMEM));
+ 
+ 		case SDLA_START:
+# This is a BitKeeper generated diff -Nru style patch.
+#
+# ChangeSet
+#   2005/01/10 16:57:46-02:00 marcelo at logos.cnet 
+#   Alan Cox: sdla_xfer lack of bounds checking, reported by Coverity (from 2.6.10-ac)
+# 
+# drivers/net/wan/sdla.c
+#   2005/01/10 16:56:45-02:00 marcelo at logos.cnet +2 -0
+#   Alan Cox: sdla_xfer lack of bounds checking, reported by Coverity (from 2.6.10-ac)
+#   ,.
+# 
+# Backported to Debian's 2.6.8 by Horms



More information about the Kernel-svn-changes mailing list