diff options
| author | 2020-11-06 10:37:47 +0000 | |
|---|---|---|
| committer | 2020-11-06 08:08:38 -0800 | |
| commit | 4170bc6baa5446e1d85e0b7647ea54ba72aa85c4 (patch) | |
| tree | d4506920e5a9271c033c3e3cc2826deb4a3837be /tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c | |
| parent | bpf: Add tests for task_local_storage (diff) | |
| download | linux-dev-4170bc6baa5446e1d85e0b7647ea54ba72aa85c4.tar.xz linux-dev-4170bc6baa5446e1d85e0b7647ea54ba72aa85c4.zip | |
bpf: Exercise syscall operations for inode and sk storage
Use the check_syscall_operations added for task_local_storage to
exercise syscall operations for other local storage maps:
* Check the absence of an element for the given fd.
* Create a new element, retrieve and compare its value.
* Delete the element and check again for absence.
Signed-off-by: KP Singh <kpsingh@google.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Link: https://lore.kernel.org/bpf/20201106103747.2780972-10-kpsingh@chromium.org
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c')
0 files changed, 0 insertions, 0 deletions
