apparmor: convert xmatch to use aa_perms structure

Convert xmatch from using perms encoded in the accept entry of the
dfa to the common external aa_perms in a table.

Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
John Johansen
2022-10-03 14:49:02 -07:00
parent 0310f093ba
commit e48ffd24c1
3 changed files with 13 additions and 7 deletions
+2 -1
View File
@@ -141,7 +141,8 @@ struct aa_profile {
const char *attach;
struct aa_dfa *xmatch;
unsigned int xmatch_len;
u32 *xmatch_perms;
struct aa_perms *xmatch_perms;
enum audit_mode audit;
long mode;
u32 path_flags;