apparmor: extend xindex size

Allow the xindex to have 2^24 entries.

Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
John Johansen
2022-07-16 03:29:19 -07:00
parent b06a62ebf5
commit ae6d35ed0a
3 changed files with 14 additions and 15 deletions

View File

@@ -78,7 +78,7 @@ struct aa_perms {
u32 quiet; /* set only when ~allow | deny */
u32 hide; /* set only when ~allow | deny */
u16 xindex;
u32 xindex;
};
#define ALL_PERMS_MASK 0xffffffff