packages: kernel/kernel-grsec_full.patch - one chunk applied in 2.6.29.2

adamg adamg at pld-linux.org
Fri May 8 21:30:12 CEST 2009


Author: adamg                        Date: Fri May  8 19:30:12 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- one chunk applied in 2.6.29.2

---- Files affected:
packages/kernel:
   kernel-grsec_full.patch (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: packages/kernel/kernel-grsec_full.patch
diff -u packages/kernel/kernel-grsec_full.patch:1.4 packages/kernel/kernel-grsec_full.patch:1.5
--- packages/kernel/kernel-grsec_full.patch:1.4	Mon Apr  6 20:42:50 2009
+++ packages/kernel/kernel-grsec_full.patch	Fri May  8 21:30:07 2009
@@ -34844,15 +34844,6 @@
  		if (locked > limit && !capable(CAP_IPC_LOCK))
  			return -ENOMEM;
  	}
-@@ -1573,7 +1770,7 @@
- 	 * Overcommit..  This must be the final test, as it will
- 	 * update security statistics.
- 	 */
--	if (security_vm_enough_memory(grow))
-+	if (security_vm_enough_memory_mm(mm, grow))
- 		return -ENOMEM;
- 
- 	/* Ok, everything looks good - let it rip */
 @@ -1594,35 +1791,40 @@
  #endif
  int expand_upwards(struct vm_area_struct *vma, unsigned long address)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/kernel/kernel-grsec_full.patch?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list