rpms/psb-kmod/devel psb-kmod-4.41.1-overflow.patch, NONE, 1.1 psb-kmod.spec, 1.1, 1.2

Adam Williamson adamwill at rpmfusion.org
Fri Sep 17 14:23:36 CEST 2010


Author: adamwill

Update of /cvs/nonfree/rpms/psb-kmod/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv14370

Modified Files:
	psb-kmod.spec 
Added Files:
	psb-kmod-4.41.1-overflow.patch 
Log Message:
* Fri Sep 17 2010 Adam Williamson <adamwill AT shaw DOT ca> - 4.41.1-14
- add a patch from Lubomir Rintel to fix for kernel 2.6.35


psb-kmod-4.41.1-overflow.patch:
 drm_drv.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE psb-kmod-4.41.1-overflow.patch ---
--- a/drm_drv.c
+++ b/drm_drv.c
@@ -649,7 +649,7 @@ long drm_unlocked_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
 
        if (cmd & IOC_IN) {
                if (copy_from_user(kdata, (void __user *)arg,
-                                  _IOC_SIZE(cmd)) != 0) {
+                                  _IOC_SIZE(cmd) & 0x1ff) != 0) {
                        retcode = -EACCES;
                        goto err_i1;
                }


Index: psb-kmod.spec
===================================================================
RCS file: /cvs/nonfree/rpms/psb-kmod/devel/psb-kmod.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- psb-kmod.spec	17 Sep 2010 10:39:24 -0000	1.1
+++ psb-kmod.spec	17 Sep 2010 12:23:36 -0000	1.2
@@ -7,7 +7,7 @@
 
 Name:		psb-kmod
 Version:	4.41.1
-Release:	13%{?dist}.6
+Release:	14%{?dist}
 Summary:	Kernel module for Poulsbo graphics chipsets
 
 Group:		System Environment/Kernel
@@ -42,6 +42,8 @@
 Patch9:		0002-psb-If-not-asking-for-debug-is-an-error-I-want-to-be.patch
 # From Matthew Garrett: fix framebuffer
 Patch10:	0003-psb-Fix-framebuffer.patch
+# From Lubomir Rintel: fix build for 2.6.35
+Patch11:	psb-kmod-4.41.1-overflow.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 ExclusiveArch:	i586 i686
 
@@ -83,6 +85,7 @@
 %patch8 -p1 -b .firmware
 %patch9 -p1 -b .debug
 %patch10 -p1 -b .framebuffer
+%patch11 -p1 -b .overflow
  popd
 done
 
@@ -113,6 +116,9 @@
 
 
 %changelog
+* Fri Sep 17 2010 Adam Williamson <adamwill AT shaw DOT ca> - 4.41.1-14
+- add a patch from Lubomir Rintel to fix for kernel 2.6.35
+
 * Sat Sep 11 2010 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 4.41.1-13.6
 - rebuild for new kernel
 



More information about the rpmfusion-commits mailing list