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

hawk hawk at pld-linux.org
Tue May 4 19:49:07 CEST 2010


Author: hawk                         Date: Tue May  4 17:49:07 2010 GMT
Module: packages                      Tag: Titanium
---- Log message:
- http://www.grsecurity.net/~spender/grsecurity-2.1.14-2.6.32.12-201005012055.patch
  with localversion killed

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

---- 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.55 packages/kernel-bare-grsecurity/linux-2.6-grsecurity.patch:1.1.2.56
--- packages/kernel-bare-grsecurity/linux-2.6-grsecurity.patch:1.1.2.55	Fri Apr 30 11:33:01 2010
+++ packages/kernel-bare-grsecurity/linux-2.6-grsecurity.patch	Tue May  4 19:48:54 2010
@@ -19708,6 +19708,27 @@
  	ctxt->user_regs.ss = __KERNEL_DS;
  #ifdef CONFIG_X86_32
  	ctxt->user_regs.fs = __KERNEL_PERCPU;
+diff -urNp linux-2.6.32.12/arch/x86/xen/xen-head.S linux-2.6.32.12/arch/x86/xen/xen-head.S
+--- linux-2.6.32.12/arch/x86/xen/xen-head.S	2010-03-15 11:52:04.000000000 -0400
++++ linux-2.6.32.12/arch/x86/xen/xen-head.S	2010-05-01 20:55:07.797036614 -0400
+@@ -19,6 +19,17 @@ ENTRY(startup_xen)
+ #ifdef CONFIG_X86_32
+ 	mov %esi,xen_start_info
+ 	mov $init_thread_union+THREAD_SIZE,%esp
++#ifdef CONFIG_SMP
++	movl $cpu_gdt_table,%edi
++	movl $__per_cpu_load,%eax
++	movw %ax,__KERNEL_PERCPU + 2(%edi)
++	rorl $16,%eax
++	movb %al,__KERNEL_PERCPU + 4(%edi)
++	movb %ah,__KERNEL_PERCPU + 7(%edi)
++	movl $__per_cpu_end - 1,%eax
++	subl $__per_cpu_start,%eax
++	movw %ax,__KERNEL_PERCPU + 0(%edi)
++#endif
+ #else
+ 	mov %rsi,xen_start_info
+ 	mov $init_thread_union+THREAD_SIZE,%rsp
 diff -urNp linux-2.6.32.12/arch/x86/xen/xen-ops.h linux-2.6.32.12/arch/x86/xen/xen-ops.h
 --- linux-2.6.32.12/arch/x86/xen/xen-ops.h	2010-03-15 11:52:04.000000000 -0400
 +++ linux-2.6.32.12/arch/x86/xen/xen-ops.h	2010-04-04 20:46:41.541133870 -0400
================================================================

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



More information about the pld-cvs-commit mailing list