diff options
author | John Johansen <john.johansen@canonical.com> | 2022-07-16 12:33:43 +0200 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2022-10-03 23:49:03 +0200 |
commit | 90917d5b6866df79d892087ba51b46c983d2fcfe (patch) | |
tree | fe97819dd9858b6fc79a8ee06665082b5df845c4 /security/apparmor/include/perms.h | |
parent | apparmor: isolate policy backwards compatibility to its own file (diff) | |
download | linux-90917d5b6866df79d892087ba51b46c983d2fcfe.tar.xz linux-90917d5b6866df79d892087ba51b46c983d2fcfe.zip |
apparmor: extend permissions to support a label and tag string
add indexes for label and tag entries. Rename the domain table to the
str_table as its a shared string table with label and tags.
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor/include/perms.h')
-rw-r--r-- | security/apparmor/include/perms.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/security/apparmor/include/perms.h b/security/apparmor/include/perms.h index 8739cef73549..d66059fcebb4 100644 --- a/security/apparmor/include/perms.h +++ b/security/apparmor/include/perms.h @@ -79,6 +79,8 @@ struct aa_perms { u32 hide; /* set only when ~allow | deny */ u32 xindex; + u32 tag; /* tag string index, if present */ + u32 label; /* label string index, if present */ }; #define ALL_PERMS_MASK 0xffffffff |