2
0
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:
Steve Beattie
2009-03-12 16:05:19 +00:00
parent 087182be9a
commit 13f73b626b
3 changed files with 5 additions and 17 deletions

View File

@@ -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;
}