-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: attempt execve rare error (#167)
* fix: attempt execve rare error This PR attempts at fixing a rare error happening in `execve` probe (see #159) The occurence of this error seems pretty random, so it is impossible to replicate (so far). Thus some code review has been done on the probe and we fix possible cause of this error: - the probe uses two maps of different sizes, that may cause data to be missing in one of them -> fix: put the same size for both the maps * add: bpf lru hashmap cleanup + comments * change: execve probe - offload work from execve_event to try_security_bprm_check - changed MAP_SIZE to 2048 instead of 4096
- Loading branch information
Showing
1 changed file
with
21 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters