diff options
| author | Kumar Kartikeya Dwivedi <memxor@gmail.com> | 2026-07-08 05:07:51 +0200 |
|---|---|---|
| committer | Eduard Zingerman <eddyz87@gmail.com> | 2026-07-08 00:32:56 -0700 |
| commit | 9eab4790f11f751de2da13436845a39c4ca54e54 (patch) | |
| tree | d460522755ea8eec349f1754739c1705742f7f4a /tools/perf/scripts/python/stackcollapse.py | |
| parent | ac65c710cc643cbc52b899627577357867249530 (diff) | |
selftests/bpf: Add untrusted BTF write regression
Add a TCP congestion-control struct_ops load test for a write through a
BTF pointer produced by bpf_rdonly_cast().
The test expects the verifier to reject the program before the TCP CA
btf_struct_access callback can whitelist the tcp_sock field write.
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Reviewed-by: Amery Hung <ameryhung@gmail.com>
Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
