]> git.pld-linux.org Git - packages/kernel.git/blobdiff - kernel-apparmor.patch
- fix from 3.0 apparmor patches
[packages/kernel.git] / kernel-apparmor.patch
index d6e219deed37f55db67ac1a73fd6df49b143bec4..9f2ac69aaf986f44039dc3423afcf7dd10adad5f 100644 (file)
@@ -519,7 +519,7 @@ index e33aaf7..fa3f1b4 100644
 +                      /* 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) ||
This page took 0.103762 seconds and 4 git commands to generate.