This commit is contained in:
yunwei37
2023-04-25 07:17:00 +00:00
parent 1cd5cc50d8
commit 10d0b03fb2
5 changed files with 5 additions and 5 deletions

View File

@@ -15,7 +15,7 @@ int tracepoint__syscalls__sys_enter_execve(struct trace_event_raw_sys_enter* ctx
{
u64 id;
pid_t pid, tgid;
struct event event;
struct event event={0};
struct task_struct *task;
uid_t uid = (u32)bpf_get_current_uid_gid();

View File

@@ -186,7 +186,7 @@ int tracepoint__syscalls__sys_enter_execve(struct trace_event_raw_sys_enter* ctx
{
u64 id;
pid_t pid, tgid;
struct event event;
struct event event={0};
struct task_struct *task;
uid_t uid = (u32)bpf_get_current_uid_gid();

View File

@@ -899,7 +899,7 @@ int tracepoint__syscalls__sys_enter_execve(struct trace_event_raw_sys_enter* ctx
{
u64 id;
pid_t pid, tgid;
struct event event;
struct event event={0};
struct task_struct *task;
uid_t uid = (u32)bpf_get_current_uid_gid();

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long