27 lines
895 B
Plaintext
27 lines
895 B
Plaintext
|
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/SubDomain.pm | 4 +++-
|
||
|
1 file changed, 3 insertions(+), 1 deletion(-)
|
||
|
|
||
|
--- a/utils/SubDomain.pm
|
||
|
+++ b/utils/SubDomain.pm
|
||
|
@@ -2789,7 +2789,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",
|