aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/libbpf.c
diff options
context:
space:
mode:
authorKumar Kartikeya Dwivedi <memxor@gmail.com>2025-05-13 07:28:12 -0700
committerAlexei Starovoitov <ast@kernel.org>2025-05-13 18:47:54 -0700
commitbc049387b41f41bee61e8cc338a5e99ca9798a09 (patch)
tree8bbcda454e67d13f94721909517957b22c98648e /tools/lib/bpf/libbpf.c
parentbpf: Fix WARN() in get_bpf_raw_tp_regs (diff)
downloadlinux-rng-bc049387b41f41bee61e8cc338a5e99ca9798a09.tar.xz
linux-rng-bc049387b41f41bee61e8cc338a5e99ca9798a09.zip
bpf: Add support for __prog argument suffix to pass in prog->aux
Instead of hardcoding the list of kfuncs that need prog->aux passed to them with a combination of fixup_kfunc_call adjustment + __ign suffix, combine both in __prog suffix, which ignores the argument passed in, and fixes it up to the prog->aux. This allows kfuncs to have the prog->aux passed into them without having to touch the verifier. Cc: Tejun Heo <tj@kernel.org> Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com> Link: https://lore.kernel.org/r/20250513142812.1021591-1-memxor@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/lib/bpf/libbpf.c')
0 files changed, 0 insertions, 0 deletions