summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/progs/kfunc_implicit_args.c
AgeCommit message (Collapse)AuthorLines
2026-01-20selftests/bpf: Add tests for KF_IMPLICIT_ARGSIhor Solodrai-0/+41
Add trivial end-to-end tests to validate that KF_IMPLICIT_ARGS flag is properly handled by both resolve_btfids and the verifier. Declare kfuncs in bpf_testmod. Check that bpf_prog_aux pointer is set in the kfunc implementation. Verify that calls with implicit args and a legacy case all work. Acked-by: Eduard Zingerman <eddyz87@gmail.com> Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev> Link: https://lore.kernel.org/r/20260120222638.3976562-7-ihor.solodrai@linux.dev Signed-off-by: Alexei Starovoitov <ast@kernel.org>