2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-30 22:05:27 +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

@@ -961,7 +961,7 @@ struct cod_entry *new_entry(char *id, perms_t perms, char *link_id)
entry->name = id;
entry->link_name = link_id;
entry->perms = perms;
entry->audit.audit = false;
entry->audit = false;
entry->deny = FALSE;
entry->pattern_type = ePatternInvalid;