diff options
author | Martin KaFai Lau <martin.lau@kernel.org> | 2024-10-23 16:47:56 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2024-10-24 10:25:59 -0700 |
commit | 51fff4083372381e680724dde7ac3e859f9e3a0a (patch) | |
tree | d8370c2d88d3b3b2ff13de2e74de47951fd95b34 /tools/testing/selftests/bpf/prog_tests/stacktrace_map_skip.c | |
parent | 4579b4a4279ec7df9499943f764da03ae837021c (diff) |
selftests/bpf: Test a uptr struct spanning across pages.
This patch tests the case when uptr has a struct spanning across two
pages. It is not supported now and EOPNOTSUPP is expected from the
syscall update_elem.
It also tests the whole uptr struct located exactly at the
end of a page and ensures that this case is accepted by update_elem.
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://lore.kernel.org/r/20241023234759.860539-10-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