mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 06:16:03 +00:00
fix typo in fork tracking code that could result in applications that
are currently running while logprof/genprof is used being left in the null-complain profile instead of being moved to the profile the user has just specified. the profiles are updated correctly though, so if the application is stopped and restarted, it will be confined by the appropriate profile.
This commit is contained in:
@@ -1691,7 +1691,7 @@ sub do_logprof_pass {
|
||||
push @log, $arrayref;
|
||||
}
|
||||
$pid{$child} = $arrayref;
|
||||
push @{$arrayref}, [ "fork", $child . $profile, $hat ];
|
||||
push @{$arrayref}, [ "fork", $child, $profile, $hat ];
|
||||
} else {
|
||||
$DEBUGGING && debug "UNHANDLED: $_";
|
||||
}
|
||||
|
Reference in New Issue
Block a user