[apparmor] [patch 29/26] include rules class entries when dumping profiles
John Johansen
john.johansen at canonical.com
Thu Apr 3 19:42:52 UTC 2014
On 04/03/2014 11:04 AM, Steve Beattie wrote:
> This patch adds the newer rules class entries (e.g. ptrace, signals)
> when dumping profiles (invoking the parser with the -dd argument).
>
> Signed-off-by: Steve Beattie <steve at nxnw.org>
Acked-by: John Johansen <john.johansen at canonical.com>
> ---
> parser/profile.h | 4 ++++
> 1 file changed, 4 insertions(+)
>
> Index: b/parser/profile.h
> ===================================================================
> --- a/parser/profile.h
> +++ b/parser/profile.h
> @@ -223,6 +223,10 @@ public:
> if (entries)
> debug_cod_entries(entries);
>
> + for (RuleList::iterator i = rule_ents.begin(); i != rule_ents.end(); i++) {
> + (*i)->dump(cout);
> + }
> +
> printf("\n");
> hat_table.dump();
> }
>
>
>
More information about the AppArmor
mailing list