Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:Test
apparmor-utils
apparmor-utils-add-log-types
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File apparmor-utils-add-log-types of Package apparmor-utils
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> --- SubDomain.pm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) --- a/SubDomain.pm +++ b/SubDomain.pm @@ -2759,7 +2759,9 @@ sub add_event_to_tree ($) { $e->{name2} ); } - } 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", @@ -2794,7 +2796,9 @@ sub add_event_to_tree ($) { $e->{name}, "" ); - } elsif ($e->{operation} =~ m/inode_/) { + } elsif ($e->{operation} =~ m/inode_/ or + # 2.6.29 introduced creds and we see the "exec" operation instead + $e->{operation} eq "exec") { my $is_domain_change = 0; if ($e->{operation} eq "inode_permission" &&
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor