Skip to content

BPF sys_execve get file_name? #2282

Oct 22, 2022 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

Execve(at) is different than other syscalls in two ways:

  1. We can't submit the arguments in sys_exit (like we do for almost all the other syscalls), since a successful exec never returns.
  2. It has the argv and envp arguments, which require a different handling on submit

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by rafaeldtinoco
Comment options

You must be logged in to vote
2 replies
@yanivagman
Comment options

@Nigelwz
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants