mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01: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
1 changed files with 2 additions and 2 deletions
|
@ -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"));
|
||||
|
|
Loading…
Add table
Reference in a new issue