diff options
author | Amery Hung <amery.hung@bytedance.com> | 2025-02-17 11:06:40 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2025-02-17 18:47:27 -0800 |
commit | af17bad9fb2aed949fd56d71558cf962dfda1705 (patch) | |
tree | ee9769f63c843ae1606b660b8fa82557c17dfcf2 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 8d9f547f74c7b984dd903c4ffec026f2b2d46c58 (diff) |
selftests/bpf: Test returning referenced kptr from struct_ops programs
Test struct_ops programs returning referenced kptr. When the return type
of a struct_ops operator is pointer to struct, the verifier should
only allow programs that return a scalar NULL or a non-local kptr with the
correct type in its unmodified form.
Signed-off-by: Amery Hung <amery.hung@bytedance.com>
Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Acked-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://lore.kernel.org/r/20250217190640.1748177-6-ameryhung@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions