diff options
author | Kui-Feng Lee <thinker.li@gmail.com> | 2024-10-23 16:47:55 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2024-10-24 10:25:59 -0700 |
commit | 4579b4a4279ec7df9499943f764da03ae837021c (patch) | |
tree | 3212a350815701172f62d7c3ff05947696361444 /tools/testing/selftests/bpf/prog_tests/stacktrace_map_skip.c | |
parent | 7aa12b8d9f24e9623effa12a3fc330de056d572e (diff) |
selftests/bpf: Some basic __uptr tests
Make sure the memory of uptrs have been mapped to the kernel properly.
Also ensure the values of uptrs in the kernel haven't been copied
to userspace.
It also has the syscall update_elem/delete_elem test to test the
pin/unpin code paths.
Signed-off-by: Kui-Feng Lee <thinker.li@gmail.com>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://lore.kernel.org/r/20241023234759.860539-9-martin.lau@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/stacktrace_map_skip.c')
0 files changed, 0 insertions, 0 deletions