From 6818e1693f244cbb1ff380fe54b9632c203e5062 Mon Sep 17 00:00:00 2001 From: Andrei Fedotov Date: Tue, 2 Jul 2024 19:10:50 +0300 Subject: [PATCH] bpf: fix missed linux_binprm_type in selector_arg_offset function Signed-off-by: Andrei Fedotov --- bpf/process/types/basic.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bpf/process/types/basic.h b/bpf/process/types/basic.h index acb78562a2f..74a0d44c849 100644 --- a/bpf/process/types/basic.h +++ b/bpf/process/types/basic.h @@ -1686,6 +1686,9 @@ selector_arg_offset(__u8 *f, struct msg_generic_kprobe *e, __u32 selidx, args += 4; case file_ty: case path_ty: +#ifdef __LARGE_BPF_PROG + case linux_binprm_type: +#endif pass &= filter_file_buf(filter, (struct string_buf *)args); break; case string_type: