Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore kernel threads during clone events
In Tetragon we do not report process_exec and process_exit events for kernel threads. When searching for the parent of a kernel thread, we failed to do so and we simply ignore that. This patch optimizes that path as we abort early by checking the task_struct's flags. Signed-off-by: Anastasios Papagiannis <tasos.papagiannnis@gmail.com>
- Loading branch information