From c611d4cbf080e7eeddab1a1f13c46d7fa40ccd39 Mon Sep 17 00:00:00 2001 From: John Johansen Date: Fri, 4 Aug 2006 17:22:19 +0000 Subject: [PATCH] increase interface version for loading policy, due to the m and unsafe exec flags breaking compatabity with v2 policy --- parser/parser_interface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parser/parser_interface.c b/parser/parser_interface.c index a3d60ca8a..f4eebbb7b 100644 --- a/parser/parser_interface.c +++ b/parser/parser_interface.c @@ -54,7 +54,7 @@ #define SD_CODE_SIZE (sizeof(u8)) #define SD_STR_LEN (sizeof(u16)) -#define SUBDOMAIN_INTERFACE_VERSION 2 +#define SUBDOMAIN_INTERFACE_VERSION 3 int sd_serialize_codomain(int option, struct codomain *cod); @@ -80,7 +80,7 @@ static void print_error(int error) PERROR(_("Profile does not match signature\n")); break; case -EPROTONOSUPPORT: - PERROR(_("Profile version not supported\n")); + PERROR(_("Profile version not supported by Apparmor module\n")); break; case -EEXIST: PERROR(_("Profile already exists\n"));