]> git.ipfire.org Git - thirdparty/linux.git/commit
selftests/bpf: add tests confirming type logic in kernel for __arg_ctx
authorAndrii Nakryiko <andrii@kernel.org>
Thu, 18 Jan 2024 03:31:42 +0000 (19:31 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 18 Jan 2024 04:20:06 +0000 (20:20 -0800)
commit989410cde81959c4033dc287d79b42b6eb04f04f
tree5cf0c298e829a66889b975c7f7fa02ef6c0db801
parent0ba971511d16603599f947459e59b435cc465b0d
selftests/bpf: add tests confirming type logic in kernel for __arg_ctx

Add a bunch of global subprogs across variety of program types to
validate expected kernel type enforcement logic for __arg_ctx arguments.

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20240118033143.3384355-5-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/progs/verifier_global_subprogs.c