mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-22 18:17:09 +00:00
increase interface version for loading policy, due to the m and unsafe exec flags breaking compatabity with v2 policy
This commit is contained in:
parent
5a84323302
commit
c611d4cbf0
@ -54,7 +54,7 @@
|
|||||||
#define SD_CODE_SIZE (sizeof(u8))
|
#define SD_CODE_SIZE (sizeof(u8))
|
||||||
#define SD_STR_LEN (sizeof(u16))
|
#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);
|
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"));
|
PERROR(_("Profile does not match signature\n"));
|
||||||
break;
|
break;
|
||||||
case -EPROTONOSUPPORT:
|
case -EPROTONOSUPPORT:
|
||||||
PERROR(_("Profile version not supported\n"));
|
PERROR(_("Profile version not supported by Apparmor module\n"));
|
||||||
break;
|
break;
|
||||||
case -EEXIST:
|
case -EEXIST:
|
||||||
PERROR(_("Profile already exists\n"));
|
PERROR(_("Profile already exists\n"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user