SOURCES (LINUX_2_6): grsec-fix.patch (NEW) - FAST fix - don't know...

cieciwa cieciwa at pld-linux.org
Mon Nov 14 13:17:20 CET 2005


Author: cieciwa                      Date: Mon Nov 14 12:17:20 2005 GMT
Module: SOURCES                       Tag: LINUX_2_6
---- Log message:
- FAST fix - don't know if it works.

---- Files affected:
SOURCES:
   grsec-fix.patch (NONE -> 1.1.2.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/grsec-fix.patch
diff -u /dev/null SOURCES/grsec-fix.patch:1.1.2.1
--- /dev/null	Mon Nov 14 13:17:20 2005
+++ SOURCES/grsec-fix.patch	Mon Nov 14 13:17:15 2005
@@ -0,0 +1,12 @@
+--- linux-2.6.14.2/fs/proc/task_mmu.c.org	2005-11-14 12:48:12.000000000 +0100
++++ linux-2.6.14.2/fs/proc/task_mmu.c	2005-11-14 13:12:21.000000000 +0100
+@@ -497,7 +497,9 @@
+ 	if (!md)
+ 		return 0;
+ 
++#ifdef CONFIG_GRKERNSEC_PROC_MEMMAP
+ 	seq_printf(m, "%08lx", PAX_RAND_FLAGS(vma->vm_mm) ? 0UL : vma->vm_start);
++#endif
+ 	pol = get_vma_policy(task, vma, vma->vm_start);
+ 	/* Print policy */
+ 	switch (pol->policy) {
================================================================



More information about the pld-cvs-commit mailing list