packages: xorg-driver-video-fglrx/xorg-driver-video-fglrx-GPL-only.patch (N...
baggins
baggins at pld-linux.org
Sat Oct 23 03:41:05 CEST 2010
Author: baggins Date: Sat Oct 23 01:41:05 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- On kernels with fix for CVE-2010-3081 use arch_compat_alloc_user_space
instead of compat_alloc_user_space since the latter is GPL-only
---- Files affected:
packages/xorg-driver-video-fglrx:
xorg-driver-video-fglrx-GPL-only.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/xorg-driver-video-fglrx/xorg-driver-video-fglrx-GPL-only.patch
diff -u /dev/null packages/xorg-driver-video-fglrx/xorg-driver-video-fglrx-GPL-only.patch:1.1
--- /dev/null Sat Oct 23 03:41:05 2010
+++ packages/xorg-driver-video-fglrx/xorg-driver-video-fglrx-GPL-only.patch Sat Oct 23 03:40:59 2010
@@ -0,0 +1,11 @@
+--- xorg-driver-video-fglrx-10.10/common/lib/modules/fglrx/build_mod/kcl_ioctl.c~ 2010-10-19 23:41:18.000000000 +0200
++++ xorg-driver-video-fglrx-10.10/common/lib/modules/fglrx/build_mod/kcl_ioctl.c 2010-10-23 03:39:08.144926999 +0200
+@@ -193,7 +193,7 @@
+ */
+ void* ATI_API_CALL KCL_IOCTL_AllocUserSpace32(long size)
+ {
+- void __user *ret = COMPAT_ALLOC_USER_SPACE(size);
++ void __user *ret = arch_compat_alloc_user_space(size);
+
+ /* prevent stack overflow */
+ if (!access_ok(VERIFY_WRITE, ret, size))
================================================================
More information about the pld-cvs-commit
mailing list