From f8d3f05bafb69356709467f738456c98a6872113 Mon Sep 17 00:00:00 2001 From: David Windsor Date: Thu, 18 Jan 2024 11:29:24 -0500 Subject: [PATCH] Extract linux_binprm member using CO:RE Signed-off-by: David Windsor --- bpf/process/types/basic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bpf/process/types/basic.h b/bpf/process/types/basic.h index f243b133a25..6893b1a60e7 100644 --- a/bpf/process/types/basic.h +++ b/bpf/process/types/basic.h @@ -2394,7 +2394,7 @@ read_call_arg(void *ctx, struct msg_generic_kprobe *e, int index, int type, // fallthrough to file_ty case linux_binprm_type: { struct linux_binprm *bprm = (struct linux_binprm *)arg; - arg = (unsigned long)(&bprm->file); + arg = (unsigned long)_(&bprm->file); // fallthrough to file_ty }