selftests/bpf: Add fexit tests for BPF trampoline
authorAlexei Starovoitov <ast@kernel.org>
Thu, 14 Nov 2019 18:57:10 +0000 (10:57 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 15 Nov 2019 22:43:28 +0000 (23:43 +0100)
commitd3b0856e5959fbb50a2f2f15a5614e20e51cb522
tree04781670f8d0adc80b8228cc501e11e13316db7c
parent11d1e2eefffe86339b3b0b773bd31ef3b88faf7d
selftests/bpf: Add fexit tests for BPF trampoline

Add fexit tests for BPF trampoline that checks kernel functions
with up to 6 arguments of different sizes and their return values.

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Song Liu <songliubraving@fb.com>
Link: https://lore.kernel.org/bpf/20191114185720.1641606-11-ast@kernel.org
tools/testing/selftests/bpf/prog_tests/fexit_test.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/fexit_test.c [new file with mode: 0644]