diff options
| author | Hou Tao <[email protected]> | 2022-09-01 06:19:37 +0000 |
|---|---|---|
| committer | Martin KaFai Lau <[email protected]> | 2022-09-01 19:16:20 +0000 |
| commit | c710136e87747f1cc8e24948b3046ee57a1fe2eb (patch) | |
| tree | a03e61d0319ebbbdf55993fd4973edb286e800ab /tools/testing/selftests/bpf/prog_tests/global_data_init.c | |
| parent | bpf: Use this_cpu_{inc_return|dec} for prog->active (diff) | |
| download | kernel-c710136e87747f1cc8e24948b3046ee57a1fe2eb.tar.gz kernel-c710136e87747f1cc8e24948b3046ee57a1fe2eb.zip | |
selftests/bpf: Move sys_pidfd_open() into task_local_storage_helpers.h
sys_pidfd_open() is defined twice in both test_bprm_opts.c and
test_local_storage.c, so move it to a common header file. And it will be
used in map_tests as well.
Signed-off-by: Hou Tao <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin KaFai Lau <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/global_data_init.c')
0 files changed, 0 insertions, 0 deletions
