[apparmor] [patch][parser] Bump parser ABI version to 1

John Johansen john.johansen at canonical.com
Mon Jun 2 17:02:36 UTC 2014


Commit r2456 fixes a bug in the parsers compilation that can result
policy failures. Unfortunately this Bug slipped into the wild and
shipped in at least one distro.

Bump the parser abi so that parsers that have the fix will invalid
existing cache files, and recompile policy to ensure the fix is applied.

Signed-off-by: John Johansen <john.johansen at canonical.com>

---

Index: b/parser/parser_common.c
===================================================================
--- a/parser/parser_common.c
+++ b/parser/parser_common.c
@@ -59,7 +59,7 @@
  * numbers where supported.
  */
 uint32_t policy_version = 2;
-uint32_t parser_abi_version = 0;
+uint32_t parser_abi_version = 1;
 uint32_t kernel_abi_version = 5;
 
 int force_complain = 0;



More information about the AppArmor mailing list