SOURCES (LINUX_2_6_22): kernel-grsec_fixes.patch - fix from PaX pa...
zbyniu
zbyniu at pld-linux.org
Wed Feb 13 11:05:56 CET 2008
Author: zbyniu Date: Wed Feb 13 10:05:56 2008 GMT
Module: SOURCES Tag: LINUX_2_6_22
---- Log message:
- fix from PaX patch for 2.6.23+
---- Files affected:
SOURCES:
kernel-grsec_fixes.patch (1.1.2.3 -> 1.1.2.4)
---- Diffs:
================================================================
Index: SOURCES/kernel-grsec_fixes.patch
diff -u SOURCES/kernel-grsec_fixes.patch:1.1.2.3 SOURCES/kernel-grsec_fixes.patch:1.1.2.4
--- SOURCES/kernel-grsec_fixes.patch:1.1.2.3 Thu Feb 7 08:58:45 2008
+++ SOURCES/kernel-grsec_fixes.patch Wed Feb 13 11:05:51 2008
@@ -1,6 +1,7 @@
audits
rename
netlink
+fix from pax patch for 2.6.23+
diff -urp a/grsecurity/gracl.c c/grsecurity/gracl.c
--- a/grsecurity/gracl.c 2007-12-10 23:52:36.040492750 +0100
+++ c/grsecurity/gracl.c 2007-12-11 00:32:38.094611750 +0100
@@ -271,3 +272,14 @@
return 0;
}
+--- linux/include/asm-x86_64/processor.h 2008-01-24 23:58:37.000000000 +0100
++++ linux-pax/include/asm-x86_64/processor.h 2008-01-25 15:28:01.000000000 +0100
+@@ -142,7 +142,7 @@ static inline void clear_in_cr4 (unsigne
+ /* This decides where the kernel will search for a free chunk of vm
+ * space during mmap's.
+ */
+-#define IA32_PAGE_OFFSET ((current->personality & ADDR_LIMIT_3GB) ? 0xc0000000 : 0xFFFFe000)
++#define IA32_PAGE_OFFSET ((current->personality & ADDR_LIMIT_3GB) ? 0xc0000000 : 0xFFFFf000)
+
+ #define TASK_SIZE (test_thread_flag(TIF_IA32) ? IA32_PAGE_OFFSET : TASK_SIZE64)
+ #define TASK_SIZE_OF(child) ((test_tsk_thread_flag(child, TIF_IA32)) ? IA32_PAGE_OFFSET : TASK_SIZE64)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/kernel-grsec_fixes.patch?r1=1.1.2.3&r2=1.1.2.4&f=u
More information about the pld-cvs-commit
mailing list