selftest/bpf: The test cases of BPF cookie for fentry/fexit/fmod_ret/lsm.
authorKui-Feng Lee <kuifeng@fb.com>
Tue, 10 May 2022 20:59:23 +0000 (13:59 -0700)
committerAndrii Nakryiko <andrii@kernel.org>
Wed, 11 May 2022 04:58:40 +0000 (21:58 -0700)
commitddc0027a4c3f0cf07a5d54178f016535ef58bca5
treed1e95e9191441940f94e1fde796316b581de1189
parent129b9c5ee2c18c3e36ec289140b5149f301118d1
selftest/bpf: The test cases of BPF cookie for fentry/fexit/fmod_ret/lsm.

Make sure BPF cookies are correct for fentry/fexit/fmod_ret/lsm.

Signed-off-by: Kui-Feng Lee <kuifeng@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220510205923.3206889-6-kuifeng@fb.com
tools/testing/selftests/bpf/prog_tests/bpf_cookie.c
tools/testing/selftests/bpf/progs/test_bpf_cookie.c