diff options
| author | Kumar Kartikeya Dwivedi <[email protected]> | 2025-05-13 14:28:12 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2025-05-14 01:47:54 +0000 |
| commit | bc049387b41f41bee61e8cc338a5e99ca9798a09 (patch) | |
| tree | 8bbcda454e67d13f94721909517957b22c98648e /tools/lib/bpf/libbpf.c | |
| parent | bpf: Fix WARN() in get_bpf_raw_tp_regs (diff) | |
| download | kernel-bc049387b41f41bee61e8cc338a5e99ca9798a09.tar.gz kernel-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 <[email protected]>
Signed-off-by: Kumar Kartikeya Dwivedi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/lib/bpf/libbpf.c')
0 files changed, 0 insertions, 0 deletions
