8000 tracee-ebpf: extend magic_write bytes by yanivagman · Pull Request #853 · aquasecurity/tracee · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

tracee-ebpf: extend magic_write bytes #853

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tracee-ebpf/tracee/tracee.bpf.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ extern bool CONFIG_ARCH_HAS_SYSCALL_WRAPPER __kconfig;
#define MAX_STACK_ADDRESSES 1024 // Max amount of different stack trace addresses to buffer in the Map
#define MAX_STACK_DEPTH 20 // Max depth of each stack trace to track
#define MAX_STR_FILTER_SIZE 16 // Max string filter size should be bounded to the size of the compared values (comm, uts)
#define FILE_MAGIC_HDR_SIZE 16 // Number of bytes to save from a file's header (for magic_write event)
#define FILE_MAGIC_MASK 15 // Mask used to pass verifier when submitting magic_write event bytes
#define FILE_MAGIC_HDR_SIZE 32 // Number of bytes to save from a file's header (for magic_write event)
#define FILE_MAGIC_MASK 31 // Mask used to pass verifier when submitting magic_write event bytes

#define SUBMIT_BUF_IDX 0
#define STRING_BUF_IDX 1
Expand Down
0