From e608192d543720e82be943f1d3dbd00a7742a98b Mon Sep 17 00:00:00 2001 From: Nicholas Berlin Date: Wed, 6 Nov 2024 12:53:33 -0500 Subject: [PATCH] Code formatting --- GPL/Events/File/Probe.bpf.c | 2 +- GPL/Events/Process/Probe.bpf.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/GPL/Events/File/Probe.bpf.c b/GPL/Events/File/Probe.bpf.c index 4ed6ed35..4053a89f 100644 --- a/GPL/Events/File/Probe.bpf.c +++ b/GPL/Events/File/Probe.bpf.c @@ -122,7 +122,7 @@ static int vfs_unlink__exit(int ret) goto out; } - event->hdr.type = EBPF_EVENT_FILE_DELETE; + event->hdr.type = EBPF_EVENT_FILE_DELETE; event->hdr.ts = bpf_ktime_get_ns(); event->hdr.ts_boot = bpf_ktime_get_boot_ns_helper(); ebpf_pid_info__fill(&event->pids, task); diff --git a/GPL/Events/Process/Probe.bpf.c b/GPL/Events/Process/Probe.bpf.c index e802464f..c49b71c5 100644 --- a/GPL/Events/Process/Probe.bpf.c +++ b/GPL/Events/Process/Probe.bpf.c @@ -52,7 +52,7 @@ int BPF_PROG(sched_process_fork, const struct task_struct *parent, const struct if (!event) goto out; - event->hdr.type = EBPF_EVENT_PROCESS_FORK; + event->hdr.type = EBPF_EVENT_PROCESS_FORK; event->hdr.ts = bpf_ktime_get_ns(); event->hdr.ts_boot = bpf_ktime_get_boot_ns_helper(); ebpf_pid_info__fill(&event->parent_pids, parent); @@ -440,7 +440,7 @@ int tracepoint_syscalls_sys_enter_memfd_create(struct syscall_trace_enter *ctx) event->hdr.type = EBPF_EVENT_PROCESS_MEMFD_CREATE; event->hdr.ts = bpf_ktime_get_ns(); event->hdr.ts_boot = bpf_ktime_get_boot_ns_helper(); - event->flags = ex_args->flags; + event->flags = ex_args->flags; ebpf_pid_info__fill(&event->pids, task);