diff options
author | John Johansen <john.johansen@canonical.com> | 2020-11-13 16:30:47 -0800 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2022-10-03 14:49:02 -0700 |
commit | e48ffd24c1d87dba227225615790cd059a707adb (patch) | |
tree | 3778d8db5cc54bad9a8abe60578066b1983a46d8 /security/apparmor/include | |
parent | 0310f093ba95e7640c886298de36560c123df5bd (diff) | |
download | linux-stable-e48ffd24c1d87dba227225615790cd059a707adb.tar.gz linux-stable-e48ffd24c1d87dba227225615790cd059a707adb.tar.bz2 linux-stable-e48ffd24c1d87dba227225615790cd059a707adb.zip |
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>
Diffstat (limited to 'security/apparmor/include')
-rw-r--r-- | security/apparmor/include/policy.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/security/apparmor/include/policy.h b/security/apparmor/include/policy.h index 128c6a9430d4..7882d5e5096b 100644 --- a/security/apparmor/include/policy.h +++ b/security/apparmor/include/policy.h @@ -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; |