Author: arekm                        Date: Sun Feb 18 09:45:38 2007 GMT
Module: SOURCES                       Tag: LINUX_2_6_16
---- Log message:
- fixed for 2.6.41

---- Files affected:
SOURCES:
   grsecurity-2.1.9-2.6.16.14.patch (1.1.2.2.2.5 -> 1.1.2.2.2.6) 

---- Diffs:

================================================================
Index: SOURCES/grsecurity-2.1.9-2.6.16.14.patch
diff -u SOURCES/grsecurity-2.1.9-2.6.16.14.patch:1.1.2.2.2.5 
SOURCES/grsecurity-2.1.9-2.6.16.14.patch:1.1.2.2.2.6
--- SOURCES/grsecurity-2.1.9-2.6.16.14.patch:1.1.2.2.2.5        Thu Dec 21 
22:24:03 2006
+++ SOURCES/grsecurity-2.1.9-2.6.16.14.patch    Sun Feb 18 10:45:32 2007
@@ -6130,13 +6130,14 @@
        if (p < (unsigned long) high_memory) {
  
                wrote = count;
-@@ -613,7 +633,23 @@ static inline size_t read_zero_pagealign
+@@ -633,9 +633,25 @@
                        count = size;
  
                zap_page_range(vma, addr, count, NULL);
--              zeromap_page_range(vma, addr, count, PAGE_COPY);
-+              zeromap_page_range(vma, addr, count, vma->vm_page_prot);
-+
+-              if (zeromap_page_range(vma, addr, count, PAGE_COPY))
++              if (zeromap_page_range(vma, addr, count, vma->vm_page_prot))
+                       break;
+ 
 +#ifdef CONFIG_PAX_SEGMEXEC
 +              if (vma->vm_flags & VM_MIRROR) {
 +                      unsigned long addr_m;
@@ -6149,12 +6150,13 @@
 +                              zap_page_range(vma_m, addr_m, count, NULL);
 +                      } else
 +                              printk(KERN_ERR "PAX: VMMIRROR: read_zero bug, 
%08lx, %08lx\n",
-+                                     addr, vma->vm_start);
++                                              addr, vma->vm_start);
 +              }
 +#endif
- 
++
                size -= count;
                buf += count;
+               addr += count;
 @@ -762,6 +798,16 @@ static loff_t memory_lseek(struct file *
  
  static int open_port(struct inode * inode, struct file * filp)
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/SOURCES/grsecurity-2.1.9-2.6.16.14.patch?r1=1.1.2.2.2.5&r2=1.1.2.2.2.6&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to