diff options
author | John Johansen <john.johansen@canonical.com> | 2020-11-14 01:30:47 +0100 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2022-10-03 23:49:02 +0200 |
commit | e48ffd24c1d87dba227225615790cd059a707adb (patch) | |
tree | 3778d8db5cc54bad9a8abe60578066b1983a46d8 /security/apparmor/include | |
parent | apparmor: rework and cleanup fperm computation (diff) | |
download | linux-e48ffd24c1d87dba227225615790cd059a707adb.tar.xz linux-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; |