mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01: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
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue