2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-31 22:35:35 +00:00

The apparmor parser applies the disabled and complain mode directories even when just

dumping the preprocessor output to stdout.

Add a flag to test whether to skip forcing the mode and use it with -p (dump preprocessed
profile).
This commit is contained in:
John Johansen
2010-07-10 17:46:06 -07:00
parent a30ecbfe3c
commit da6df9fdc5
2 changed files with 13 additions and 9 deletions

View File

@@ -538,7 +538,7 @@ static int process_profile_name_xmatch(struct codomain *cod)
cod->xmatch = aare_create_dfa(rule, &cod->xmatch_size,
dfaflags);
aare_delete_ruleset(rule);
if (!cod->xmatch)
if (!cod->xmatch)
return FALSE;
}