diff --git a/src/BPF/file.c b/src/BPF/file.c index f4b99937e1e3886400a632ba62296ed35ab32029..8ad4949ec117ea58327121e72fe486f77f471c03 100644 --- a/src/BPF/file.c +++ b/src/BPF/file.c @@ -456,7 +456,8 @@ int trace_enter_unlinkat(struct sys_enter_unlinkat_args* ctx) { return 0; } -SEC("kprobe/vfs_rmdir") +// SEC("kprobe/vfs_rmdir") +SEC("kprobe/security_inode_rmdir") int kprobe_vfs_rmdir(struct pt_regs* ctx) { u64 tgid_pid; u32 tgid, pid;