Commit b384b76e authored by Brendan Gregg's avatar Brendan Gregg Committed by GitHub

Merge pull request #1481 from htbegin/execsnoop_fix

execsnoop: fix the prototype for kprobe__sys_execve
parents 2faf0605 3c399da1
...@@ -88,7 +88,8 @@ static int submit_arg(struct pt_regs *ctx, void *ptr, struct data_t *data) ...@@ -88,7 +88,8 @@ static int submit_arg(struct pt_regs *ctx, void *ptr, struct data_t *data)
return 0; return 0;
} }
int kprobe__sys_execve(struct pt_regs *ctx, struct filename *filename, int kprobe__sys_execve(struct pt_regs *ctx,
const char __user *filename,
const char __user *const __user *__argv, const char __user *const __user *__argv,
const char __user *const __user *__envp) const char __user *const __user *__envp)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment