2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-31 06:16:03 +00:00
Fix debugging with CHANGE_PROFILE.
This commit is contained in:
Steve Beattie
2007-07-27 20:25:59 +00:00
parent 17ff3b0f58
commit 86e5ed3109
3 changed files with 4 additions and 1 deletions

View File

@@ -591,6 +591,8 @@ void debug_cod_entries(struct cod_entry *list)
printf("%c", COD_MMAP_CHAR);
if (HAS_MAY_EXEC(item->mode))
printf("%c", COD_EXEC_CHAR);
if (HAS_CHANGE_PROFILE(item->mode))
printf(" change_profile");
if (item->name)
printf("\tName:\t(%s)\n", item->name);