mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 06:16:03 +00:00
Mild cruft cleanup (woo!)
- fix "Namespcae" tyop - get rid of sub_name and default_deny from the main profile struct as they haven't been used for a long time; also eliminates their output from the debugging output. - emit dumped parsing structure with only one -d, users were confuzzled and it was not documented that you needed to use -dd to get it to output anything if DEBUG wasn't set when compiling.
This commit is contained in:
@@ -523,10 +523,8 @@ int process_profile(int option, char *profilename)
|
||||
}
|
||||
|
||||
if (debug > 0) {
|
||||
if (debug > 1) {
|
||||
printf("----- Debugging built structures -----\n");
|
||||
dump_policy();
|
||||
}
|
||||
printf("----- Debugging built structures -----\n");
|
||||
dump_policy();
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user