From: Jeff Mahoney <jeffm@suse.com>
Subject: apparmor-utils: Add support for creds and path operations
References: bnc#564316

 2.6.29 introduced the path security_operations and credentials

 This patch adds support for those operations to the log parser.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
---
 utils/Immunix/AppArmor.pm |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

--- a/utils/Immunix/AppArmor.pm
+++ b/utils/Immunix/AppArmor.pm
@@ -2848,7 +2848,9 @@ sub add_event_to_tree ($) {
 			  ""
                         );
         }
-    } elsif ($e->{operation} =~ m/file_/) {
+    } elsif ($e->{operation} =~ m/file_/ or
+	    # These are the path operations introduced in 2.6.29
+             $e->{operation} =~ m/^(open|unlink|mkdir|rmdir|mknod|truncate|symlink_create|link|rename_src|rename_dest)$/) {
         add_to_tree( $e->{pid},
 		     $e->{parent},
                      "path",
