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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user