aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKumar Kartikeya Dwivedi <[email protected]>2022-03-19 13:38:27 +0530
committerAlexei Starovoitov <[email protected]>2022-04-06 10:32:12 -0700
commit9fc4476a08b6dc61e406c2c0c4e0690512f60e82 (patch)
tree7efd30f074b4f459397a3d2625cb129d66ddfca6 /tools/perf/scripts/python
parent7cb29b1c99f4244c3f1de04e88eb9aed842a0cba (diff)
selftests/bpf: Test for writes to map key from BPF helpers
When invoking bpf_for_each_map_elem callback, we are passed a PTR_TO_MAP_KEY, previously writes to this through helper may be allowed, but the fix in previous patches is meant to prevent that case. The test case tries to pass it as writable memory to helper, and fails test if it succeeds to pass the verifier. Signed-off-by: Kumar Kartikeya Dwivedi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions