mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 14:25:52 +00:00
Fix bug where events from the log were dropped for profiles in the
null-complain-profile.
This commit is contained in:
@@ -1811,7 +1811,7 @@ sub add_audit_event_to_tree ( $$ ) {
|
||||
# consistently passed
|
||||
my $prog = "HINT";
|
||||
|
||||
return if ( !profile_exists($profile) );
|
||||
return if ($profile ne 'null-complain-profile' && !profile_exists($profile));
|
||||
|
||||
if ($e->{operation} eq "exec") {
|
||||
if ( defined $e->{info} && $e->{info} eq "mandatory profile missing" ) {
|
||||
|
Reference in New Issue
Block a user