aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
diff options
context:
space:
mode:
authorYonghong Song <[email protected]>2022-01-27 15:46:11 +0000
committerAlexei Starovoitov <[email protected]>2022-01-27 20:03:46 +0000
commit571d01a9d06f984ce51bd7625036e67f7f1f886c (patch)
tree86ff9f6b0d34d748bb5a805a4dbe6333c534c341 /tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
parentbpf: reject program if a __user tagged memory accessed in kernel way (diff)
downloadkernel-571d01a9d06f984ce51bd7625036e67f7f1f886c.tar.gz
kernel-571d01a9d06f984ce51bd7625036e67f7f1f886c.zip
selftests/bpf: rename btf_decl_tag.c to test_btf_decl_tag.c
The uapi btf.h contains the following declaration: struct btf_decl_tag { __s32 component_idx; }; The skeleton will also generate a struct with name "btf_decl_tag" for bpf program btf_decl_tag.c. Rename btf_decl_tag.c to test_btf_decl_tag.c so the corresponding skeleton struct name becomes "test_btf_decl_tag". This way, we could include uapi btf.h in prog_tests/btf_tag.c. There is no functionality change for this patch. Signed-off-by: Yonghong Song <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/sockmap_basic.c')
0 files changed, 0 insertions, 0 deletions