Skip to content

Commit

Permalink
bpf: fix missed linux_binprm_type in selector_arg_offset function
Browse files Browse the repository at this point in the history
Signed-off-by: Andrei Fedotov <[email protected]>
  • Loading branch information
anfedotoff committed Jul 2, 2024
1 parent e0ba8f7 commit 6818e16
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bpf/process/types/basic.h
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 6818e16

Please sign in to comment.