2
0
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:
Dominic Reynolds
2007-07-29 02:30:39 +00:00
parent 371860fb03
commit 82b86abc58

View File

@@ -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" ) {