2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-31 06:16:03 +00:00

Don't process events for profiles that no longer exist.

This commit is contained in:
Dominic Reynolds
2007-07-29 02:18:29 +00:00
parent 6f5bc70ae1
commit 3f2ed86bef

View File

@@ -1782,6 +1782,8 @@ sub add_audit_event_to_tree ( $$ ) {
# consistently passed
my $prog = "HINT";
return if ( !profile_exists($profile) );
if ($e->{operation} eq "exec") {
add_to_tree( $e->{pid},
"exec",