packages (Titanium): kernel-bare-grsecurity/linux-2.6-grsecurity.patch - ht...

hawk hawk at pld-linux.org
Fri Oct 23 19:34:24 CEST 2009


Author: hawk                         Date: Fri Oct 23 17:34:24 2009 GMT
Module: packages                      Tag: Titanium
---- Log message:
- http://www.grsecurity.com/~spender/grsecurity-2.1.14-2.6.31.4-200910202041.patch
  with localversion killed

---- Files affected:
packages/kernel-bare-grsecurity:
   linux-2.6-grsecurity.patch (1.1.2.46 -> 1.1.2.47) 

---- Diffs:

================================================================
Index: packages/kernel-bare-grsecurity/linux-2.6-grsecurity.patch
diff -u packages/kernel-bare-grsecurity/linux-2.6-grsecurity.patch:1.1.2.46 packages/kernel-bare-grsecurity/linux-2.6-grsecurity.patch:1.1.2.47
--- packages/kernel-bare-grsecurity/linux-2.6-grsecurity.patch:1.1.2.46	Thu Oct 15 17:50:46 2009
+++ packages/kernel-bare-grsecurity/linux-2.6-grsecurity.patch	Fri Oct 23 19:34:13 2009
@@ -1,6 +1,9 @@
+               )\._.,--....,'``.      
+ .b--.        /;   _.. \   _\  (`._ ,.
+`=,-,-'~~~   `----(,_..'--(,_..'`-.;.'
 diff -urNp linux-2.6.31.4/arch/alpha/include/asm/atomic.h linux-2.6.31.4/arch/alpha/include/asm/atomic.h
 --- linux-2.6.31.4/arch/alpha/include/asm/atomic.h	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/alpha/include/asm/atomic.h	2009-10-11 15:29:40.123741591 -0400
++++ linux-2.6.31.4/arch/alpha/include/asm/atomic.h	2009-10-20 20:32:11.013671975 -0400
 @@ -18,9 +18,11 @@
  #define ATOMIC64_INIT(i)	( (atomic64_t) { (i) } )
  
@@ -47,7 +50,7 @@
  #define atomic_dec(v) atomic_sub(1,(v))
 diff -urNp linux-2.6.31.4/arch/alpha/include/asm/elf.h linux-2.6.31.4/arch/alpha/include/asm/elf.h
 --- linux-2.6.31.4/arch/alpha/include/asm/elf.h	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/alpha/include/asm/elf.h	2009-10-11 15:29:40.124678650 -0400
++++ linux-2.6.31.4/arch/alpha/include/asm/elf.h	2009-10-20 20:32:11.013671975 -0400
 @@ -91,6 +91,13 @@ typedef elf_fpreg_t elf_fpregset_t[ELF_N
  
  #define ELF_ET_DYN_BASE		(TASK_UNMAPPED_BASE + 0x1000000)
@@ -64,7 +67,7 @@
     linker to call DT_FINI functions for shared libraries that have
 diff -urNp linux-2.6.31.4/arch/alpha/include/asm/pgtable.h linux-2.6.31.4/arch/alpha/include/asm/pgtable.h
 --- linux-2.6.31.4/arch/alpha/include/asm/pgtable.h	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/alpha/include/asm/pgtable.h	2009-10-11 15:29:40.124678650 -0400
++++ linux-2.6.31.4/arch/alpha/include/asm/pgtable.h	2009-10-20 20:32:11.013671975 -0400
 @@ -101,6 +101,17 @@ struct vm_area_struct;
  #define PAGE_SHARED	__pgprot(_PAGE_VALID | __ACCESS_BITS)
  #define PAGE_COPY	__pgprot(_PAGE_VALID | __ACCESS_BITS | _PAGE_FOW)
@@ -85,7 +88,7 @@
  #define _PAGE_NORMAL(x) __pgprot(_PAGE_VALID | __ACCESS_BITS | (x))
 diff -urNp linux-2.6.31.4/arch/alpha/kernel/module.c linux-2.6.31.4/arch/alpha/kernel/module.c
 --- linux-2.6.31.4/arch/alpha/kernel/module.c	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/alpha/kernel/module.c	2009-10-11 15:29:40.124678650 -0400
++++ linux-2.6.31.4/arch/alpha/kernel/module.c	2009-10-20 20:32:11.013671975 -0400
 @@ -182,7 +182,7 @@ apply_relocate_add(Elf64_Shdr *sechdrs, 
  
  	/* The small sections were sorted to the end of the segment.
@@ -97,7 +100,7 @@
  	for (i = 0; i < n; i++) {
 diff -urNp linux-2.6.31.4/arch/alpha/kernel/osf_sys.c linux-2.6.31.4/arch/alpha/kernel/osf_sys.c
 --- linux-2.6.31.4/arch/alpha/kernel/osf_sys.c	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/alpha/kernel/osf_sys.c	2009-10-11 15:29:40.124678650 -0400
++++ linux-2.6.31.4/arch/alpha/kernel/osf_sys.c	2009-10-20 20:32:11.015085037 -0400
 @@ -1212,6 +1212,10 @@ arch_get_unmapped_area(struct file *filp
  	   merely specific addresses, but regions of memory -- perhaps
  	   this feature should be incorporated into all ports?  */
@@ -122,7 +125,7 @@
  
 diff -urNp linux-2.6.31.4/arch/alpha/mm/fault.c linux-2.6.31.4/arch/alpha/mm/fault.c
 --- linux-2.6.31.4/arch/alpha/mm/fault.c	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/alpha/mm/fault.c	2009-10-11 15:29:40.124678650 -0400
++++ linux-2.6.31.4/arch/alpha/mm/fault.c	2009-10-20 20:32:11.015085037 -0400
 @@ -54,6 +54,124 @@ __load_new_mm_context(struct mm_struct *
  	__reload_thread(pcb);
  }
@@ -281,7 +284,7 @@
  		if (!(vma->vm_flags & (VM_READ | VM_WRITE)))
 diff -urNp linux-2.6.31.4/arch/arm/include/asm/atomic.h linux-2.6.31.4/arch/arm/include/asm/atomic.h
 --- linux-2.6.31.4/arch/arm/include/asm/atomic.h	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/arm/include/asm/atomic.h	2009-10-11 15:29:40.230158580 -0400
++++ linux-2.6.31.4/arch/arm/include/asm/atomic.h	2009-10-20 20:32:11.015085037 -0400
 @@ -20,6 +20,7 @@
  #ifdef __KERNEL__
  
@@ -344,7 +347,7 @@
  #define atomic_inc_and_test(v)	(atomic_add_return(1, v) == 0)
 diff -urNp linux-2.6.31.4/arch/arm/include/asm/elf.h linux-2.6.31.4/arch/arm/include/asm/elf.h
 --- linux-2.6.31.4/arch/arm/include/asm/elf.h	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/arm/include/asm/elf.h	2009-10-11 15:29:40.230158580 -0400
++++ linux-2.6.31.4/arch/arm/include/asm/elf.h	2009-10-20 20:32:11.015085037 -0400
 @@ -103,7 +103,14 @@ extern int arm_elf_read_implies_exec(con
     the loader.  We need to make sure that it is out of the way of the program
     that it will "exec", and that there is sufficient room for the brk.  */
@@ -363,7 +366,7 @@
     registered with atexit, as per the SVR4 ABI.  A value of 0 means we 
 diff -urNp linux-2.6.31.4/arch/arm/include/asm/kmap_types.h linux-2.6.31.4/arch/arm/include/asm/kmap_types.h
 --- linux-2.6.31.4/arch/arm/include/asm/kmap_types.h	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/arm/include/asm/kmap_types.h	2009-10-11 15:29:40.230158580 -0400
++++ linux-2.6.31.4/arch/arm/include/asm/kmap_types.h	2009-10-20 20:32:11.015085037 -0400
 @@ -19,6 +19,7 @@ enum km_type {
  	KM_SOFTIRQ0,
  	KM_SOFTIRQ1,
@@ -374,7 +377,7 @@
  
 diff -urNp linux-2.6.31.4/arch/arm/include/asm/uaccess.h linux-2.6.31.4/arch/arm/include/asm/uaccess.h
 --- linux-2.6.31.4/arch/arm/include/asm/uaccess.h	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/arm/include/asm/uaccess.h	2009-10-11 15:29:40.230158580 -0400
++++ linux-2.6.31.4/arch/arm/include/asm/uaccess.h	2009-10-20 20:32:11.016200356 -0400
 @@ -400,6 +400,9 @@ extern unsigned long __must_check __strn
  
  static inline unsigned long __must_check copy_from_user(void *to, const void __user *from, unsigned long n)
@@ -397,7 +400,7 @@
  	return n;
 diff -urNp linux-2.6.31.4/arch/arm/mach-ns9xxx/clock.c linux-2.6.31.4/arch/arm/mach-ns9xxx/clock.c
 --- linux-2.6.31.4/arch/arm/mach-ns9xxx/clock.c	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/arm/mach-ns9xxx/clock.c	2009-10-11 15:29:40.230158580 -0400
++++ linux-2.6.31.4/arch/arm/mach-ns9xxx/clock.c	2009-10-20 20:32:11.016200356 -0400
 @@ -195,7 +195,7 @@ static int clk_debugfs_open(struct inode
  	return single_open(file, clk_debugfs_show, NULL);
  }
@@ -409,7 +412,7 @@
  	.llseek = seq_lseek,
 diff -urNp linux-2.6.31.4/arch/arm/mm/mmap.c linux-2.6.31.4/arch/arm/mm/mmap.c
 --- linux-2.6.31.4/arch/arm/mm/mmap.c	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/arm/mm/mmap.c	2009-10-11 15:29:40.231419184 -0400
++++ linux-2.6.31.4/arch/arm/mm/mmap.c	2009-10-20 20:32:11.016200356 -0400
 @@ -62,6 +62,10 @@ arch_get_unmapped_area(struct file *filp
  	if (len > TASK_SIZE)
  		return -ENOMEM;
@@ -448,7 +451,7 @@
  			}
 diff -urNp linux-2.6.31.4/arch/avr32/include/asm/atomic.h linux-2.6.31.4/arch/avr32/include/asm/atomic.h
 --- linux-2.6.31.4/arch/avr32/include/asm/atomic.h	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/avr32/include/asm/atomic.h	2009-10-11 15:29:40.239493712 -0400
++++ linux-2.6.31.4/arch/avr32/include/asm/atomic.h	2009-10-20 20:32:11.026942899 -0400
 @@ -20,7 +20,9 @@
  #define ATOMIC_INIT(i)  { (i) }
  
@@ -512,7 +515,7 @@
  #define atomic_inc_return(v)	atomic_add_return(1, v)
 diff -urNp linux-2.6.31.4/arch/avr32/include/asm/elf.h linux-2.6.31.4/arch/avr32/include/asm/elf.h
 --- linux-2.6.31.4/arch/avr32/include/asm/elf.h	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/avr32/include/asm/elf.h	2009-10-11 15:29:40.239493712 -0400
++++ linux-2.6.31.4/arch/avr32/include/asm/elf.h	2009-10-20 20:32:11.026942899 -0400
 @@ -85,8 +85,14 @@ typedef struct user_fpu_struct elf_fpreg
     the loader.  We need to make sure that it is out of the way of the program
     that it will "exec", and that there is sufficient room for the brk.  */
@@ -531,7 +534,7 @@
     instruction set this CPU supports.  This could be done in user space,
 diff -urNp linux-2.6.31.4/arch/avr32/include/asm/kmap_types.h linux-2.6.31.4/arch/avr32/include/asm/kmap_types.h
 --- linux-2.6.31.4/arch/avr32/include/asm/kmap_types.h	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/avr32/include/asm/kmap_types.h	2009-10-11 15:29:40.240390629 -0400
++++ linux-2.6.31.4/arch/avr32/include/asm/kmap_types.h	2009-10-20 20:32:11.026942899 -0400
 @@ -22,7 +22,8 @@ D(10)	KM_IRQ0,
  D(11)	KM_IRQ1,
  D(12)	KM_SOFTIRQ0,
@@ -544,7 +547,7 @@
  #undef D
 diff -urNp linux-2.6.31.4/arch/avr32/mm/fault.c linux-2.6.31.4/arch/avr32/mm/fault.c
 --- linux-2.6.31.4/arch/avr32/mm/fault.c	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/avr32/mm/fault.c	2009-10-11 15:29:40.240390629 -0400
++++ linux-2.6.31.4/arch/avr32/mm/fault.c	2009-10-20 20:32:11.026942899 -0400
 @@ -41,6 +41,23 @@ static inline int notify_page_fault(stru
  
  int exception_trace = 1;
@@ -588,7 +591,7 @@
  			       "sp %08lx ecr %lu\n",
 diff -urNp linux-2.6.31.4/arch/blackfin/include/asm/atomic.h linux-2.6.31.4/arch/blackfin/include/asm/atomic.h
 --- linux-2.6.31.4/arch/blackfin/include/asm/atomic.h	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/blackfin/include/asm/atomic.h	2009-10-11 15:29:40.241333193 -0400
++++ linux-2.6.31.4/arch/blackfin/include/asm/atomic.h	2009-10-20 20:32:11.026942899 -0400
 @@ -15,8 +15,10 @@
  
  #define ATOMIC_INIT(i)	{ (i) }
@@ -636,7 +639,7 @@
  	__raw_atomic_update_asm(&v->counter, -1);
 diff -urNp linux-2.6.31.4/arch/blackfin/mach-bf561/coreb.c linux-2.6.31.4/arch/blackfin/mach-bf561/coreb.c
 --- linux-2.6.31.4/arch/blackfin/mach-bf561/coreb.c	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/blackfin/mach-bf561/coreb.c	2009-10-11 15:29:40.241333193 -0400
++++ linux-2.6.31.4/arch/blackfin/mach-bf561/coreb.c	2009-10-20 20:32:11.026942899 -0400
 @@ -48,7 +48,7 @@ coreb_ioctl(struct inode *inode, struct 
  	return ret;
  }
@@ -648,7 +651,7 @@
  };
 diff -urNp linux-2.6.31.4/arch/cris/arch-v10/drivers/sync_serial.c linux-2.6.31.4/arch/cris/arch-v10/drivers/sync_serial.c
 --- linux-2.6.31.4/arch/cris/arch-v10/drivers/sync_serial.c	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/cris/arch-v10/drivers/sync_serial.c	2009-10-11 15:29:40.241333193 -0400
++++ linux-2.6.31.4/arch/cris/arch-v10/drivers/sync_serial.c	2009-10-20 20:32:11.027918282 -0400
 @@ -244,7 +244,7 @@ static unsigned sync_serial_prescale_sha
  
  #define NUMBER_OF_PORTS 2
@@ -660,7 +663,7 @@
  	.read    = sync_serial_read,
 diff -urNp linux-2.6.31.4/arch/cris/arch-v32/drivers/mach-fs/gpio.c linux-2.6.31.4/arch/cris/arch-v32/drivers/mach-fs/gpio.c
 --- linux-2.6.31.4/arch/cris/arch-v32/drivers/mach-fs/gpio.c	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/cris/arch-v32/drivers/mach-fs/gpio.c	2009-10-11 15:29:40.267744989 -0400
++++ linux-2.6.31.4/arch/cris/arch-v32/drivers/mach-fs/gpio.c	2009-10-20 20:32:11.027918282 -0400
 @@ -855,7 +855,7 @@ gpio_leds_ioctl(unsigned int cmd, unsign
  	return 0;
  }
@@ -672,7 +675,7 @@
  	.ioctl       = gpio_ioctl,
 diff -urNp linux-2.6.31.4/arch/cris/include/asm/atomic.h linux-2.6.31.4/arch/cris/include/asm/atomic.h
 --- linux-2.6.31.4/arch/cris/include/asm/atomic.h	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/cris/include/asm/atomic.h	2009-10-11 15:29:40.268620061 -0400
++++ linux-2.6.31.4/arch/cris/include/asm/atomic.h	2009-10-20 20:32:11.028889957 -0400
 @@ -16,7 +16,9 @@
  #define ATOMIC_INIT(i)  { (i) }
  
@@ -721,7 +724,7 @@
  	unsigned long flags;
 diff -urNp linux-2.6.31.4/arch/frv/include/asm/atomic.h linux-2.6.31.4/arch/frv/include/asm/atomic.h
 --- linux-2.6.31.4/arch/frv/include/asm/atomic.h	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/frv/include/asm/atomic.h	2009-10-11 15:29:40.268620061 -0400
++++ linux-2.6.31.4/arch/frv/include/asm/atomic.h	2009-10-20 20:32:11.028889957 -0400
 @@ -37,7 +37,9 @@
  
  #define ATOMIC_INIT(i)		{ (i) }
@@ -766,7 +769,7 @@
  	atomic_sub_return(1, v);
 diff -urNp linux-2.6.31.4/arch/frv/include/asm/kmap_types.h linux-2.6.31.4/arch/frv/include/asm/kmap_types.h
 --- linux-2.6.31.4/arch/frv/include/asm/kmap_types.h	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/frv/include/asm/kmap_types.h	2009-10-11 15:29:40.268620061 -0400
++++ linux-2.6.31.4/arch/frv/include/asm/kmap_types.h	2009-10-20 20:32:11.028889957 -0400
 @@ -23,6 +23,7 @@ enum km_type {
  	KM_IRQ1,
  	KM_SOFTIRQ0,
@@ -777,7 +780,7 @@
  
 diff -urNp linux-2.6.31.4/arch/h8300/include/asm/atomic.h linux-2.6.31.4/arch/h8300/include/asm/atomic.h
 --- linux-2.6.31.4/arch/h8300/include/asm/atomic.h	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/h8300/include/asm/atomic.h	2009-10-11 15:29:40.269365271 -0400
++++ linux-2.6.31.4/arch/h8300/include/asm/atomic.h	2009-10-20 20:32:11.028889957 -0400
 @@ -11,7 +11,9 @@
  #define ATOMIC_INIT(i)	{ (i) }
  
@@ -832,7 +835,7 @@
   * atomic_inc_and_test - increment and test
 diff -urNp linux-2.6.31.4/arch/ia64/ia32/binfmt_elf32.c linux-2.6.31.4/arch/ia64/ia32/binfmt_elf32.c
 --- linux-2.6.31.4/arch/ia64/ia32/binfmt_elf32.c	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/ia64/ia32/binfmt_elf32.c	2009-10-11 15:29:40.299486229 -0400
++++ linux-2.6.31.4/arch/ia64/ia32/binfmt_elf32.c	2009-10-20 20:32:11.028889957 -0400
 @@ -45,6 +45,13 @@ randomize_stack_top(unsigned long stack_
  
  #define elf_read_implies_exec(ex, have_pt_gnu_stack)	(!(have_pt_gnu_stack))
@@ -863,7 +866,7 @@
  
 diff -urNp linux-2.6.31.4/arch/ia64/ia32/ia32priv.h linux-2.6.31.4/arch/ia64/ia32/ia32priv.h
 --- linux-2.6.31.4/arch/ia64/ia32/ia32priv.h	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/ia64/ia32/ia32priv.h	2009-10-11 15:29:40.300380760 -0400
++++ linux-2.6.31.4/arch/ia64/ia32/ia32priv.h	2009-10-20 20:32:11.028889957 -0400
 @@ -296,7 +296,14 @@ typedef struct compat_siginfo {
  #define ELF_DATA	ELFDATA2LSB
  #define ELF_ARCH	EM_386
@@ -882,7 +885,7 @@
  
 diff -urNp linux-2.6.31.4/arch/ia64/include/asm/atomic.h linux-2.6.31.4/arch/ia64/include/asm/atomic.h
 --- linux-2.6.31.4/arch/ia64/include/asm/atomic.h	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/ia64/include/asm/atomic.h	2009-10-11 15:29:40.300380760 -0400
++++ linux-2.6.31.4/arch/ia64/include/asm/atomic.h	2009-10-20 20:32:11.028889957 -0400
 @@ -22,9 +22,11 @@
  #define ATOMIC64_INIT(i)	((atomic64_t) { (i) })
  
@@ -909,7 +912,7 @@
  #define atomic64_add(i,v)		atomic64_add_return((i), (v))
 diff -urNp linux-2.6.31.4/arch/ia64/include/asm/elf.h linux-2.6.31.4/arch/ia64/include/asm/elf.h
 --- linux-2.6.31.4/arch/ia64/include/asm/elf.h	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/ia64/include/asm/elf.h	2009-10-11 15:29:40.300380760 -0400
++++ linux-2.6.31.4/arch/ia64/include/asm/elf.h	2009-10-20 20:32:11.028889957 -0400
 @@ -43,6 +43,13 @@
   */
  #define ELF_ET_DYN_BASE		(TASK_UNMAPPED_BASE + 0x800000000UL)
@@ -926,7 +929,7 @@
  /* IA-64 relocations: */
 diff -urNp linux-2.6.31.4/arch/ia64/include/asm/pgtable.h linux-2.6.31.4/arch/ia64/include/asm/pgtable.h
 --- linux-2.6.31.4/arch/ia64/include/asm/pgtable.h	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/ia64/include/asm/pgtable.h	2009-10-11 15:29:40.300380760 -0400
++++ linux-2.6.31.4/arch/ia64/include/asm/pgtable.h	2009-10-20 20:32:11.030364852 -0400
 @@ -143,6 +143,17 @@
  #define PAGE_READONLY	__pgprot(__ACCESS_BITS | _PAGE_PL_3 | _PAGE_AR_R)
  #define PAGE_COPY	__pgprot(__ACCESS_BITS | _PAGE_PL_3 | _PAGE_AR_R)
@@ -947,7 +950,7 @@
  #define PAGE_KERNELRX	__pgprot(__ACCESS_BITS | _PAGE_PL_0 | _PAGE_AR_RX)
 diff -urNp linux-2.6.31.4/arch/ia64/include/asm/uaccess.h linux-2.6.31.4/arch/ia64/include/asm/uaccess.h
 --- linux-2.6.31.4/arch/ia64/include/asm/uaccess.h	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/ia64/include/asm/uaccess.h	2009-10-11 15:29:40.301438897 -0400
++++ linux-2.6.31.4/arch/ia64/include/asm/uaccess.h	2009-10-20 20:32:11.030364852 -0400
 @@ -257,7 +257,7 @@ __copy_from_user (void *to, const void _
  	const void *__cu_from = (from);							\
  	long __cu_len = (n);								\
@@ -968,7 +971,7 @@
  })
 diff -urNp linux-2.6.31.4/arch/ia64/kernel/module.c linux-2.6.31.4/arch/ia64/kernel/module.c
 --- linux-2.6.31.4/arch/ia64/kernel/module.c	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/ia64/kernel/module.c	2009-10-11 15:29:40.433757387 -0400
++++ linux-2.6.31.4/arch/ia64/kernel/module.c	2009-10-20 20:32:11.030364852 -0400
 @@ -315,8 +315,7 @@ module_alloc (unsigned long size)
  void
  module_free (struct module *mod, void *module_region)
@@ -1059,7 +1062,7 @@
  	}
 diff -urNp linux-2.6.31.4/arch/ia64/kernel/sys_ia64.c linux-2.6.31.4/arch/ia64/kernel/sys_ia64.c
 --- linux-2.6.31.4/arch/ia64/kernel/sys_ia64.c	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/ia64/kernel/sys_ia64.c	2009-10-11 15:29:40.435419266 -0400
++++ linux-2.6.31.4/arch/ia64/kernel/sys_ia64.c	2009-10-20 20:32:11.031345603 -0400
 @@ -43,6 +43,13 @@ arch_get_unmapped_area (struct file *fil
  	if (REGION_NUMBER(addr) == RGN_HPAGE)
  		addr = 0;
@@ -1086,9 +1089,21 @@
  				goto full_search;
  			}
  			return -ENOMEM;
+diff -urNp linux-2.6.31.4/arch/ia64/kernel/topology.c linux-2.6.31.4/arch/ia64/kernel/topology.c
+--- linux-2.6.31.4/arch/ia64/kernel/topology.c	2009-10-05 13:12:06.000000000 -0400
++++ linux-2.6.31.4/arch/ia64/kernel/topology.c	2009-10-20 20:33:11.013917396 -0400
+@@ -282,7 +282,7 @@ static ssize_t cache_show(struct kobject
+ 	return ret;
+ }
+ 
+-static struct sysfs_ops cache_sysfs_ops = {
++static const struct sysfs_ops cache_sysfs_ops = {
+ 	.show   = cache_show
+ };
+ 
 diff -urNp linux-2.6.31.4/arch/ia64/kernel/vmlinux.lds.S linux-2.6.31.4/arch/ia64/kernel/vmlinux.lds.S
 --- linux-2.6.31.4/arch/ia64/kernel/vmlinux.lds.S	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/ia64/kernel/vmlinux.lds.S	2009-10-11 15:29:56.562357747 -0400
++++ linux-2.6.31.4/arch/ia64/kernel/vmlinux.lds.S	2009-10-20 20:32:11.031345603 -0400
 @@ -245,7 +245,7 @@ SECTIONS
    /* Per-cpu data: */
    . = ALIGN(PERCPU_PAGE_SIZE);
@@ -1100,7 +1115,7 @@
  						 */
 diff -urNp linux-2.6.31.4/arch/ia64/mm/fault.c linux-2.6.31.4/arch/ia64/mm/fault.c
 --- linux-2.6.31.4/arch/ia64/mm/fault.c	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/ia64/mm/fault.c	2009-10-11 15:29:40.435419266 -0400
++++ linux-2.6.31.4/arch/ia64/mm/fault.c	2009-10-20 20:32:11.031345603 -0400
 @@ -72,6 +72,23 @@ mapped_kernel_page_is_present (unsigned 
  	return pte_present(pte);
  }
@@ -1152,7 +1167,7 @@
  	 * If for any reason at all we couldn't handle the fault, make
 diff -urNp linux-2.6.31.4/arch/ia64/mm/init.c linux-2.6.31.4/arch/ia64/mm/init.c
 --- linux-2.6.31.4/arch/ia64/mm/init.c	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/ia64/mm/init.c	2009-10-11 15:29:40.465501498 -0400
++++ linux-2.6.31.4/arch/ia64/mm/init.c	2009-10-20 20:32:11.032216822 -0400
 @@ -122,6 +122,19 @@ ia64_init_addr_space (void)
  		vma->vm_start = current->thread.rbs_bot & PAGE_MASK;
  		vma->vm_end = vma->vm_start + PAGE_SIZE;
@@ -1175,7 +1190,7 @@
  		if (insert_vm_struct(current->mm, vma)) {
 diff -urNp linux-2.6.31.4/arch/ia64/pci/pci.c linux-2.6.31.4/arch/ia64/pci/pci.c
 --- linux-2.6.31.4/arch/ia64/pci/pci.c	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/ia64/pci/pci.c	2009-10-12 23:35:28.183270176 -0400
++++ linux-2.6.31.4/arch/ia64/pci/pci.c	2009-10-20 20:32:11.032216822 -0400
 @@ -56,10 +56,13 @@ int raw_pci_read(unsigned int seg, unsig
  	if ((seg | reg) <= 255) {
  		addr = PCI_SAL_ADDRESS(seg, bus, devfn, reg);
@@ -1208,7 +1223,7 @@
  		return -EINVAL;
 diff -urNp linux-2.6.31.4/arch/m32r/include/asm/atomic.h linux-2.6.31.4/arch/m32r/include/asm/atomic.h
 --- linux-2.6.31.4/arch/m32r/include/asm/atomic.h	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/m32r/include/asm/atomic.h	2009-10-11 15:29:40.466363930 -0400
++++ linux-2.6.31.4/arch/m32r/include/asm/atomic.h	2009-10-20 20:32:11.032906662 -0400
 @@ -29,6 +29,14 @@
  #define atomic_read(v)	((v)->counter)
  
@@ -1253,7 +1268,7 @@
  #define smp_mb__after_atomic_dec()	barrier()
 diff -urNp linux-2.6.31.4/arch/m32r/lib/usercopy.c linux-2.6.31.4/arch/m32r/lib/usercopy.c
 --- linux-2.6.31.4/arch/m32r/lib/usercopy.c	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/m32r/lib/usercopy.c	2009-10-11 15:29:40.488105689 -0400
++++ linux-2.6.31.4/arch/m32r/lib/usercopy.c	2009-10-20 20:32:11.032906662 -0400
 @@ -14,6 +14,9 @@
  unsigned long
  __generic_copy_to_user(void __user *to, const void *from, unsigned long n)
@@ -1276,7 +1291,7 @@
  		__copy_user_zeroing(to,from,n);
 diff -urNp linux-2.6.31.4/arch/m68k/include/asm/atomic_mm.h linux-2.6.31.4/arch/m68k/include/asm/atomic_mm.h
 --- linux-2.6.31.4/arch/m68k/include/asm/atomic_mm.h	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/m68k/include/asm/atomic_mm.h	2009-10-11 15:29:40.503696410 -0400
++++ linux-2.6.31.4/arch/m68k/include/asm/atomic_mm.h	2009-10-20 20:32:11.032906662 -0400
 @@ -16,23 +16,40 @@
  #define ATOMIC_INIT(i)	{ (i) }
  
@@ -1320,7 +1335,7 @@
  	__asm__ __volatile__("subql #1,%0" : "+m" (*v));
 diff -urNp linux-2.6.31.4/arch/m68k/include/asm/atomic_no.h linux-2.6.31.4/arch/m68k/include/asm/atomic_no.h
 --- linux-2.6.31.4/arch/m68k/include/asm/atomic_no.h	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/m68k/include/asm/atomic_no.h	2009-10-11 15:29:40.503696410 -0400
++++ linux-2.6.31.4/arch/m68k/include/asm/atomic_no.h	2009-10-20 20:32:11.032906662 -0400
 @@ -16,7 +16,9 @@
  #define ATOMIC_INIT(i)	{ (i) }
  
@@ -1369,7 +1384,7 @@
   * @v: pointer of type atomic_t
 diff -urNp linux-2.6.31.4/arch/mips/include/asm/atomic.h linux-2.6.31.4/arch/mips/include/asm/atomic.h
 --- linux-2.6.31.4/arch/mips/include/asm/atomic.h	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/mips/include/asm/atomic.h	2009-10-11 15:29:40.503696410 -0400
++++ linux-2.6.31.4/arch/mips/include/asm/atomic.h	2009-10-20 20:32:11.033977911 -0400
 @@ -32,6 +32,14 @@
  #define atomic_read(v)		((v)->counter)
  
@@ -1413,7 +1428,7 @@
   * atomic_dec - decrement and test
 diff -urNp linux-2.6.31.4/arch/mips/include/asm/elf.h linux-2.6.31.4/arch/mips/include/asm/elf.h
 --- linux-2.6.31.4/arch/mips/include/asm/elf.h	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/mips/include/asm/elf.h	2009-10-11 15:29:40.504567695 -0400
++++ linux-2.6.31.4/arch/mips/include/asm/elf.h	2009-10-20 20:32:11.033977911 -0400
 @@ -368,4 +368,11 @@ extern int dump_task_fpu(struct task_str
  #define ELF_ET_DYN_BASE         (TASK_SIZE / 3 * 2)
  #endif
@@ -1428,7 +1443,7 @@
  #endif /* _ASM_ELF_H */
 diff -urNp linux-2.6.31.4/arch/mips/include/asm/page.h linux-2.6.31.4/arch/mips/include/asm/page.h
 --- linux-2.6.31.4/arch/mips/include/asm/page.h	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/mips/include/asm/page.h	2009-10-11 15:29:40.519375120 -0400
++++ linux-2.6.31.4/arch/mips/include/asm/page.h	2009-10-20 20:32:11.033977911 -0400
 @@ -92,7 +92,7 @@ extern void copy_user_highpage(struct pa
    #ifdef CONFIG_CPU_MIPS32
      typedef struct { unsigned long pte_low, pte_high; } pte_t;
@@ -1440,7 +1455,7 @@
       #define pte_val(x)	((x).pte)
 diff -urNp linux-2.6.31.4/arch/mips/include/asm/system.h linux-2.6.31.4/arch/mips/include/asm/system.h
 --- linux-2.6.31.4/arch/mips/include/asm/system.h	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/mips/include/asm/system.h	2009-10-11 15:29:40.519375120 -0400
++++ linux-2.6.31.4/arch/mips/include/asm/system.h	2009-10-20 20:32:11.033977911 -0400
 @@ -217,6 +217,6 @@ extern void per_cpu_trap_init(void);
   */
  #define __ARCH_WANT_UNLOCKED_CTXSW
@@ -1451,7 +1466,7 @@
  #endif /* _ASM_SYSTEM_H */
 diff -urNp linux-2.6.31.4/arch/mips/kernel/binfmt_elfn32.c linux-2.6.31.4/arch/mips/kernel/binfmt_elfn32.c
 --- linux-2.6.31.4/arch/mips/kernel/binfmt_elfn32.c	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/mips/kernel/binfmt_elfn32.c	2009-10-11 15:29:40.519375120 -0400
++++ linux-2.6.31.4/arch/mips/kernel/binfmt_elfn32.c	2009-10-20 20:32:11.033977911 -0400
 @@ -50,6 +50,13 @@ typedef elf_fpreg_t elf_fpregset_t[ELF_N
  #undef ELF_ET_DYN_BASE
  #define ELF_ET_DYN_BASE         (TASK32_SIZE / 3 * 2)
@@ -1468,7 +1483,7 @@
  #include <linux/elfcore.h>
 diff -urNp linux-2.6.31.4/arch/mips/kernel/binfmt_elfo32.c linux-2.6.31.4/arch/mips/kernel/binfmt_elfo32.c
 --- linux-2.6.31.4/arch/mips/kernel/binfmt_elfo32.c	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/mips/kernel/binfmt_elfo32.c	2009-10-11 15:29:40.519375120 -0400
++++ linux-2.6.31.4/arch/mips/kernel/binfmt_elfo32.c	2009-10-20 20:32:11.033977911 -0400
 @@ -52,6 +52,13 @@ typedef elf_fpreg_t elf_fpregset_t[ELF_N
  #undef ELF_ET_DYN_BASE
  #define ELF_ET_DYN_BASE         (TASK32_SIZE / 3 * 2)
@@ -1485,7 +1500,7 @@
  /*
 diff -urNp linux-2.6.31.4/arch/mips/kernel/process.c linux-2.6.31.4/arch/mips/kernel/process.c
 --- linux-2.6.31.4/arch/mips/kernel/process.c	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/mips/kernel/process.c	2009-10-11 15:29:40.519375120 -0400
++++ linux-2.6.31.4/arch/mips/kernel/process.c	2009-10-20 20:32:11.035243170 -0400
 @@ -470,15 +470,3 @@ unsigned long get_wchan(struct task_stru
  out:
  	return pc;
@@ -1504,7 +1519,7 @@
 -}
 diff -urNp linux-2.6.31.4/arch/mips/kernel/syscall.c linux-2.6.31.4/arch/mips/kernel/syscall.c
 --- linux-2.6.31.4/arch/mips/kernel/syscall.c	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/mips/kernel/syscall.c	2009-10-11 15:29:40.520684872 -0400
++++ linux-2.6.31.4/arch/mips/kernel/syscall.c	2009-10-20 20:32:11.035243170 -0400
 @@ -99,6 +99,11 @@ unsigned long arch_get_unmapped_area(str
  	do_color_align = 0;
  	if (filp || (flags & MAP_SHARED))
@@ -1528,7 +1543,7 @@
  	else
 diff -urNp linux-2.6.31.4/arch/mips/mm/fault.c linux-2.6.31.4/arch/mips/mm/fault.c
 --- linux-2.6.31.4/arch/mips/mm/fault.c	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/mips/mm/fault.c	2009-10-11 15:29:40.520684872 -0400
++++ linux-2.6.31.4/arch/mips/mm/fault.c	2009-10-20 20:32:11.035243170 -0400
 @@ -26,6 +26,23 @@
  #include <asm/ptrace.h>
  #include <asm/highmem.h>		/* For VMALLOC_END */
@@ -1555,7 +1570,7 @@
   * and the problem, and then passes it off to one of the appropriate
 diff -urNp linux-2.6.31.4/arch/mn10300/include/asm/atomic.h linux-2.6.31.4/arch/mn10300/include/asm/atomic.h
 --- linux-2.6.31.4/arch/mn10300/include/asm/atomic.h	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/mn10300/include/asm/atomic.h	2009-10-11 15:29:40.520684872 -0400
++++ linux-2.6.31.4/arch/mn10300/include/asm/atomic.h	2009-10-20 20:32:11.035966669 -0400
 @@ -34,6 +34,15 @@
  #define atomic_read(v)	((v)->counter)
  
@@ -1623,7 +1638,7 @@
  	atomic_sub_return(1, v);
 diff -urNp linux-2.6.31.4/arch/mn10300/kernel/setup.c linux-2.6.31.4/arch/mn10300/kernel/setup.c
 --- linux-2.6.31.4/arch/mn10300/kernel/setup.c	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/mn10300/kernel/setup.c	2009-10-11 15:29:40.521507126 -0400
++++ linux-2.6.31.4/arch/mn10300/kernel/setup.c	2009-10-20 20:32:11.035966669 -0400
 @@ -285,7 +285,7 @@ static void c_stop(struct seq_file *m, v
  {
  }
@@ -1635,7 +1650,7 @@
  	.stop	= c_stop,
 diff -urNp linux-2.6.31.4/arch/parisc/include/asm/atomic.h linux-2.6.31.4/arch/parisc/include/asm/atomic.h
 --- linux-2.6.31.4/arch/parisc/include/asm/atomic.h	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/parisc/include/asm/atomic.h	2009-10-11 15:29:40.521507126 -0400
++++ linux-2.6.31.4/arch/parisc/include/asm/atomic.h	2009-10-20 20:32:11.035966669 -0400
 @@ -177,6 +177,18 @@ static __inline__ int __atomic_add_retur
  	return ret;
  }
@@ -1696,7 +1711,7 @@
  #define atomic_add_return(i,v)	(__atomic_add_return( (i),(v)))
 diff -urNp linux-2.6.31.4/arch/parisc/include/asm/elf.h linux-2.6.31.4/arch/parisc/include/asm/elf.h
 --- linux-2.6.31.4/arch/parisc/include/asm/elf.h	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/parisc/include/asm/elf.h	2009-10-11 15:29:40.521507126 -0400
++++ linux-2.6.31.4/arch/parisc/include/asm/elf.h	2009-10-20 20:32:11.035966669 -0400
 @@ -343,6 +343,13 @@ struct pt_regs;	/* forward declaration..
  
  #define ELF_ET_DYN_BASE         (TASK_UNMAPPED_BASE + 0x01000000)
@@ -1713,7 +1728,7 @@
     but it's not easy, and we've already done it here.  */
 diff -urNp linux-2.6.31.4/arch/parisc/include/asm/pgtable.h linux-2.6.31.4/arch/parisc/include/asm/pgtable.h
 --- linux-2.6.31.4/arch/parisc/include/asm/pgtable.h	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/parisc/include/asm/pgtable.h	2009-10-11 15:29:40.521507126 -0400
++++ linux-2.6.31.4/arch/parisc/include/asm/pgtable.h	2009-10-20 20:32:11.036963136 -0400
 @@ -207,6 +207,17 @@
  #define PAGE_EXECREAD   __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_EXEC |_PAGE_ACCESSED)
  #define PAGE_COPY       PAGE_EXECREAD
@@ -1734,7 +1749,7 @@
  #define PAGE_KERNEL_UNC	__pgprot(_PAGE_KERNEL | _PAGE_NO_CACHE)
 diff -urNp linux-2.6.31.4/arch/parisc/kernel/module.c linux-2.6.31.4/arch/parisc/kernel/module.c
 --- linux-2.6.31.4/arch/parisc/kernel/module.c	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/parisc/kernel/module.c	2009-10-11 15:29:40.522555387 -0400
++++ linux-2.6.31.4/arch/parisc/kernel/module.c	2009-10-20 20:32:11.036963136 -0400
 @@ -95,16 +95,38 @@
  
  /* three functions to determine where in the module core
@@ -1837,7 +1852,7 @@
  	       me->arch.unwind_section, table, end, gp);
 diff -urNp linux-2.6.31.4/arch/parisc/kernel/sys_parisc.c linux-2.6.31.4/arch/parisc/kernel/sys_parisc.c
 --- linux-2.6.31.4/arch/parisc/kernel/sys_parisc.c	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/parisc/kernel/sys_parisc.c	2009-10-11 15:29:40.522555387 -0400
++++ linux-2.6.31.4/arch/parisc/kernel/sys_parisc.c	2009-10-20 20:32:11.036963136 -0400
 @@ -98,7 +98,7 @@ unsigned long arch_get_unmapped_area(str
  	if (flags & MAP_FIXED)
  		return addr;
@@ -1849,7 +1864,7 @@
  		addr = get_shared_area(filp->f_mapping, addr, len, pgoff);
 diff -urNp linux-2.6.31.4/arch/parisc/kernel/traps.c linux-2.6.31.4/arch/parisc/kernel/traps.c
 --- linux-2.6.31.4/arch/parisc/kernel/traps.c	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/parisc/kernel/traps.c	2009-10-11 15:29:40.613367290 -0400
++++ linux-2.6.31.4/arch/parisc/kernel/traps.c	2009-10-20 20:32:11.036963136 -0400
 @@ -733,9 +733,7 @@ void notrace handle_interruption(int cod
  
  			down_read(&current->mm->mmap_sem);
@@ -1863,7 +1878,7 @@
  
 diff -urNp linux-2.6.31.4/arch/parisc/mm/fault.c linux-2.6.31.4/arch/parisc/mm/fault.c
 --- linux-2.6.31.4/arch/parisc/mm/fault.c	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/parisc/mm/fault.c	2009-10-11 15:29:40.613367290 -0400
++++ linux-2.6.31.4/arch/parisc/mm/fault.c	2009-10-20 20:32:11.037911671 -0400
 @@ -15,6 +15,7 @@
  #include <linux/sched.h>
  #include <linux/interrupt.h>
@@ -2035,7 +2050,7 @@
  	 * If for any reason at all we couldn't handle the fault, make
 diff -urNp linux-2.6.31.4/arch/powerpc/include/asm/atomic.h linux-2.6.31.4/arch/powerpc/include/asm/atomic.h
 --- linux-2.6.31.4/arch/powerpc/include/asm/atomic.h	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/powerpc/include/asm/atomic.h	2009-10-11 15:29:40.614427595 -0400
++++ linux-2.6.31.4/arch/powerpc/include/asm/atomic.h	2009-10-20 20:32:11.037911671 -0400
 @@ -24,11 +24,21 @@ static __inline__ int atomic_read(const 
  	return t;
  }
@@ -2096,7 +2111,7 @@
  	int t;
 diff -urNp linux-2.6.31.4/arch/powerpc/include/asm/elf.h linux-2.6.31.4/arch/powerpc/include/asm/elf.h
 --- linux-2.6.31.4/arch/powerpc/include/asm/elf.h	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/powerpc/include/asm/elf.h	2009-10-11 15:29:40.614427595 -0400
++++ linux-2.6.31.4/arch/powerpc/include/asm/elf.h	2009-10-20 20:32:11.037911671 -0400
 @@ -179,8 +179,19 @@ typedef elf_fpreg_t elf_vsrreghalf_t32[E
     the loader.  We need to make sure that it is out of the way of the program
     that it will "exec", and that there is sufficient room for the brk.  */
@@ -2131,7 +2146,7 @@
  /*
 diff -urNp linux-2.6.31.4/arch/powerpc/include/asm/kmap_types.h linux-2.6.31.4/arch/powerpc/include/asm/kmap_types.h
 --- linux-2.6.31.4/arch/powerpc/include/asm/kmap_types.h	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/powerpc/include/asm/kmap_types.h	2009-10-11 15:29:40.624678541 -0400
++++ linux-2.6.31.4/arch/powerpc/include/asm/kmap_types.h	2009-10-20 20:32:11.037911671 -0400
 @@ -26,6 +26,7 @@ enum km_type {
  	KM_SOFTIRQ1,
  	KM_PPC_SYNC_PAGE,
@@ -2142,7 +2157,7 @@
  
 diff -urNp linux-2.6.31.4/arch/powerpc/include/asm/page_64.h linux-2.6.31.4/arch/powerpc/include/asm/page_64.h
 --- linux-2.6.31.4/arch/powerpc/include/asm/page_64.h	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/powerpc/include/asm/page_64.h	2009-10-11 15:29:40.625611745 -0400
++++ linux-2.6.31.4/arch/powerpc/include/asm/page_64.h	2009-10-20 20:32:11.037911671 -0400
 @@ -170,15 +170,18 @@ do {						\
   * stack by default, so in the absense of a PT_GNU_STACK program header
   * we turn execute permission off.
@@ -2166,7 +2181,7 @@
  
 diff -urNp linux-2.6.31.4/arch/powerpc/include/asm/page.h linux-2.6.31.4/arch/powerpc/include/asm/page.h
 --- linux-2.6.31.4/arch/powerpc/include/asm/page.h	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/powerpc/include/asm/page.h	2009-10-11 15:29:40.626417088 -0400
++++ linux-2.6.31.4/arch/powerpc/include/asm/page.h	2009-10-20 20:32:11.037911671 -0400
 @@ -116,8 +116,9 @@ extern phys_addr_t kernstart_addr;
   * and needs to be executable.  This means the whole heap ends
   * up being executable.
@@ -2181,7 +2196,7 @@
  				 VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)
 diff -urNp linux-2.6.31.4/arch/powerpc/include/asm/pte-common.h linux-2.6.31.4/arch/powerpc/include/asm/pte-common.h
 --- linux-2.6.31.4/arch/powerpc/include/asm/pte-common.h	2009-10-05 13:12:06.000000000 -0400
-+++ linux-2.6.31.4/arch/powerpc/include/asm/pte-common.h	2009-10-11 15:29:40.627363132 -0400
++++ linux-2.6.31.4/arch/powerpc/include/asm/pte-common.h	2009-10-20 20:32:11.037911671 -0400
 @@ -121,11 +121,11 @@ extern unsigned long bad_call_to_PMD_PAG
   */
  #define PAGE_NONE	__pgprot(_PAGE_BASE)
<<Diff was trimmed, longer than 597 lines>>

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/kernel-bare-grsecurity/linux-2.6-grsecurity.patch?r1=1.1.2.46&r2=1.1.2.47&f=u



More information about the pld-cvs-commit mailing list