Skip to content

Commit

Permalink
clang format
Browse files Browse the repository at this point in the history
  • Loading branch information
stanek-michal committed May 24, 2024
1 parent b4edb37 commit 4bd5a5c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions GPL/Events/EbpfEventProto.h
Original file line number Diff line number Diff line change
Expand Up @@ -226,9 +226,9 @@ struct ebpf_process_fork_event {
struct ebpf_varlen_fields_start vl_fields;
} __attribute__((packed));

#define EXEC_F_SETUID (1 << 0)
#define EXEC_F_SETGID (1 << 1)
#define EXEC_F_MEMFD (1 << 2)
#define EXEC_F_SETUID (1 << 0)
#define EXEC_F_SETGID (1 << 1)
#define EXEC_F_MEMFD (1 << 2)

struct ebpf_process_exec_event {
struct ebpf_event_header hdr;
Expand Down
2 changes: 1 addition & 1 deletion GPL/Events/Process/Probe.bpf.c
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ int tracepoint_syscalls_sys_enter_shmget(struct trace_event_raw_sys_enter *ctx)
size_t size;
long shmflg;
};
struct shmget_args *ex_args = (struct shmget_args *)ctx;
struct shmget_args *ex_args = (struct shmget_args *)ctx;
const struct task_struct *task = (struct task_struct *)bpf_get_current_task();

if (is_kernel_thread(task))
Expand Down

0 comments on commit 4bd5a5c

Please sign in to comment.