Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP3:GA
apparmor.9786
parse_profile_data-trim-capability-string.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File parse_profile_data-trim-capability-string.patch of Package apparmor.9786
References: bsc#1046784 Subject: Strip capability variable leading and trailing spaces --- a/utils/Immunix/AppArmor.pm +++ b/utils/Immunix/AppArmor.pm @@ -5160,6 +5160,7 @@ my $allow = $2 ? 'deny' : 'allow'; $allow = 'deny' if ($2); my $capability = $3 ? $3 : 'all'; + $capability =~ s/^\s+|\s+$//g; $profile_data->{$profile}{$hat}{$allow}{capability}{$capability}{set} = 1; $profile_data->{$profile}{$hat}{$allow}{capability}{$capability}{audit} = $audit; } elsif (m/^\s*set capability\s+(\S+)\s*,\s*(#.*)?$/) { # capability entry
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