packages: kernel/kernel-apparmor.patch - fix from 3.0 apparmor patches

arekm arekm at pld-linux.org
Mon Aug 29 21:07:42 CEST 2011


Author: arekm                        Date: Mon Aug 29 19:07:42 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix from 3.0 apparmor patches

---- Files affected:
packages/kernel:
   kernel-apparmor.patch (1.14 -> 1.15) 

---- Diffs:

================================================================
Index: packages/kernel/kernel-apparmor.patch
diff -u packages/kernel/kernel-apparmor.patch:1.14 packages/kernel/kernel-apparmor.patch:1.15
--- packages/kernel/kernel-apparmor.patch:1.14	Wed Aug 24 17:59:49 2011
+++ packages/kernel/kernel-apparmor.patch	Mon Aug 29 21:07:37 2011
@@ -519,7 +519,7 @@
 +			/* discard extraneous rules that this kernel will
 +			 * never request
 +			 */
-+			if (i > AF_MAX) {
++			if (i >= AF_MAX) {
 +				u16 tmp;
 +				if (!unpack_u16(e, &tmp, NULL) ||
 +				    !unpack_u16(e, &tmp, NULL) ||
================================================================

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



More information about the pld-cvs-commit mailing list