aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKumar Kartikeya Dwivedi <[email protected]>2022-03-19 13:38:25 +0530
committerAlexei Starovoitov <[email protected]>2022-04-06 10:32:12 -0700
commit7b3552d3f9f6897851fc453b5131a967167e43c2 (patch)
treeb5ff18cf6a04b88de924fde3f31e7551380af4f9 /tools/perf/scripts/python
parent97e6d7dab1ca4648821c790a2b7913d6d5d549db (diff)
bpf: Reject writes for PTR_TO_MAP_KEY in check_helper_mem_access
It is not permitted to write to PTR_TO_MAP_KEY, but the current code in check_helper_mem_access would allow for it, reject this case as well, as helpers taking ARG_PTR_TO_UNINIT_MEM also take PTR_TO_MAP_KEY. Fixes: 69c087ba6225 ("bpf: Add bpf_for_each_map_elem() helper") 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