diff options
| author | Yonghong Song <[email protected]> | 2020-09-02 02:31:13 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2020-09-02 14:40:33 +0000 |
| commit | 858e8b2eb4dd6fe6c4640463ad2f2ed3b8249ad4 (patch) | |
| tree | 7e2f8b0dd99a8f8315caa48781d948fd13f3d3be /tools/testing/selftests/bpf/prog_tests/global_data_init.c | |
| parent | bpf: Avoid iterating duplicated files for task_file iterator (diff) | |
| download | kernel-858e8b2eb4dd6fe6c4640463ad2f2ed3b8249ad4.tar.gz kernel-858e8b2eb4dd6fe6c4640463ad2f2ed3b8249ad4.zip | |
selftests/bpf: Test task_file iterator without visiting pthreads
Modified existing bpf_iter_test_file.c program to check whether
all accessed files from the main thread or not.
Modified existing bpf_iter_test_file program to check
whether all accessed files from the main thread or not.
$ ./test_progs -n 4
...
#4/7 task_file:OK
...
#4 bpf_iter:OK
Summary: 1/24 PASSED, 0 SKIPPED, 0 FAILED
Signed-off-by: Yonghong Song <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/global_data_init.c')
0 files changed, 0 insertions, 0 deletions
