Skip to content

Conversation

OriGlassman
Copy link
Collaborator

Currently, as part of capturing executed files, tracee tries to copy the file. In case the copy fails, tracee drops the event. This patch changes the behavior to log a debug message and continue the normal flow.

1. Explain what the PR does

sched_process_exec: don't drop event in capture exec

2. Explain how to test it

./tracee -e=sched_process_exec -c exec

3. Other comments

Currently, as part of capturing executed files, tracee tries to copy the
file. In case the copy fails, tracee drops the event.
This patch changes the behavior to log a debug message and continue the
normal flow.
Copy link
Member

@geyslan geyslan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

I believe it's the simplest workaround for now.

Tks, @OriGlassman.

@geyslan geyslan merged commit 1b3f9e8 into aquasecurity:main Sep 18, 2024
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants