2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-31 06:16:03 +00:00

output the names only list before post processing the policy

This commit is contained in:
John Johansen
2008-06-09 21:15:17 +00:00
parent 100ff7cabb
commit f670eaf464

View File

@@ -459,6 +459,11 @@ int process_profile(int option, char *profilename)
if (retval != 0)
goto out;
if (names_only) {
dump_policy_names();
goto out;
}
/* Get the match string to determine type of regex support needed */
get_match_string();
@@ -487,11 +492,6 @@ int process_profile(int option, char *profilename)
goto out;
}
if (names_only) {
dump_policy_names();
goto out;
}
if (!regex_support()) {
die_if_any_regex();
}