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 <[email protected]>
---
 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();
        }

-- 
Steve Beattie
<[email protected]>
http://NxNW.org/~steve/

Attachment: signature.asc
Description: Digital signature

-- 
AppArmor mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to