mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-22 01:57:43 +00:00
parser: make alias_ignore a bool
Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
parent
10a75c431f
commit
c36d4e9c03
@ -126,7 +126,7 @@ struct cod_entry {
|
||||
audit_t audit;
|
||||
int deny; /* TRUE or FALSE */
|
||||
|
||||
int alias_ignore; /* ignore for alias processing */
|
||||
bool alias_ignore; /* ignore for alias processing */
|
||||
|
||||
int subset;
|
||||
|
||||
|
@ -141,7 +141,7 @@ static void process_entries(const void *nodep, VISIT value, int level unused)
|
||||
dup->link_name = n;
|
||||
}
|
||||
if (dup) {
|
||||
dup->alias_ignore = 1;
|
||||
dup->alias_ignore = true;
|
||||
/* adds to the front of the list, list iteratition
|
||||
* will skip it
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user