BPF sys_execve get file_name? #2282
Answered
by
yanivagman
Nigelwz
asked this question in
Questions and Help
-
Beta Was this translation helpful? Give feedback.
Answered by
yanivagman
Oct 22, 2022
Replies: 2 comments 2 replies
-
Execve(at) is different than other syscalls in two ways:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
rafaeldtinoco
-
Thank you for your reply.
TIME(s) UID COMM PID TID RET EVENT ARGS
176751.746515 1000 zsh 14726 14726 0 execve pathname: /usr/bin/ls, argv: [ls]
176751.746772 1000 zsh 14726 14726 0 security_bprm_check pathname: /usr/bin/ls, dev: 8388610, inode: 777
176751.747044 1000 ls 14726 14726 -2 access pathname: /etc/ld.so.preload, mode: R_OK
176751.747077 1000 ls 14726 14726 0 security_file_open pathname: /etc/ld.so.cache, flags: O_RDONLY|O_LARGEFILE, dev: 838861a, inode: 533737
...
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Execve(at) is different than other syscalls in two ways: