SOURCES: X11-driver-firegl-verify_area.patch (NEW), X11-driver-fir...

pluto pluto at pld-linux.org
Sat Nov 5 22:51:41 CET 2005


Author: pluto                        Date: Sat Nov  5 21:51:41 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- split.

---- Files affected:
SOURCES:
   X11-driver-firegl-verify_area.patch (NONE -> 1.1)  (NEW), X11-driver-firegl-ioctl32.patch (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SOURCES/X11-driver-firegl-verify_area.patch
diff -u /dev/null SOURCES/X11-driver-firegl-verify_area.patch:1.1
--- /dev/null	Sat Nov  5 22:51:41 2005
+++ SOURCES/X11-driver-firegl-verify_area.patch	Sat Nov  5 22:51:36 2005
@@ -0,0 +1,11 @@
+--- X11-driver-firegl-8.16.20/lib/modules/fglrx/build_mod/firegl_public.c.orig	2005-11-02 20:29:43.535048712 -0800
++++ X11-driver-firegl-8.16.20/lib/modules/fglrx/build_mod/firegl_public.c	2005-11-02 20:27:19.013019400 -0800
+@@ -1475,7 +1485,7 @@ int ATI_API_CALL __ke_copy_to_user(void*
+ 
+ int ATI_API_CALL __ke_verify_area(int type, const void * addr, unsigned long size)
+ {
+-    return verify_area(type, addr, size);
++    return (access_ok(type, addr, size) ? 0 : -EFAULT);
+ }
+ 
+ int ATI_API_CALL __ke_get_pci_device_info(__ke_pci_dev_t* dev, __ke_pci_device_info_t *pinfo)

================================================================
Index: SOURCES/X11-driver-firegl-ioctl32.patch
diff -u SOURCES/X11-driver-firegl-ioctl32.patch:1.3 SOURCES/X11-driver-firegl-ioctl32.patch:1.4
--- SOURCES/X11-driver-firegl-ioctl32.patch:1.3	Sat Nov  5 22:22:04 2005
+++ SOURCES/X11-driver-firegl-ioctl32.patch	Sat Nov  5 22:51:36 2005
@@ -1,5 +1,3 @@
-http://ati.cchtml.com/show_bug.cgi?id=211
-
 --- X11-driver-firegl-8.16.20/lib/modules/fglrx/build_mod/firegl_public.c.orig	2005-11-02 20:29:43.535048712 -0800
 +++ X11-driver-firegl-8.16.20/lib/modules/fglrx/build_mod/firegl_public.c	2005-11-02 20:27:19.013019400 -0800
 @@ -191,6 +190,16 @@ _syscall3( int, modify_ldt, int, func, v
@@ -27,15 +25,6 @@
      mmap:    ip_firegl_mmap,
  };
  
-@@ -1475,7 +1485,7 @@ int ATI_API_CALL __ke_copy_to_user(void*
- 
- int ATI_API_CALL __ke_verify_area(int type, const void * addr, unsigned long size)
- {
--    return verify_area(type, addr, size);
-+    return (access_ok(type, addr, size) ? 0 : -EFAULT);
- }
- 
- int ATI_API_CALL __ke_get_pci_device_info(__ke_pci_dev_t* dev, __ke_pci_device_info_t *pinfo)
 @@ -2220,10 +2230,68 @@ int ATI_API_CALL __ke_register_ioctl32_c
      return register_ioctl32_conversion(cmd, handler);
  }
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/X11-driver-firegl-ioctl32.patch?r1=1.3&r2=1.4&f=u




More information about the pld-cvs-commit mailing list