2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-31 06:16:03 +00:00

parser: fixup remove struct from the audit bool conversion

This removes the struct wrapper used in the previous patch to ensure
that all uses are properly converted.

Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
John Johansen
2021-06-11 03:49:06 -07:00
parent 44f3be091a
commit 134e95f783
21 changed files with 81 additions and 78 deletions

View File

@@ -130,7 +130,7 @@ struct cod_entry {
Profile *prof; /* Special profile defined
* just for this executable */
perms_t perms; /* perms is 'or' of AA_* bits */
struct { bool audit; } audit; /* audit flags for perms */
bool audit; /* audit flags for perms */
int deny; /* TRUE or FALSE */
int alias_ignore; /* ignore for alias processing */