aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2020-11-20 23:08:29 -0800
committerDaniel Borkmann <[email protected]>2020-11-25 00:05:21 +0100
commit607c543f939d8ca6fed7afe90b3a8d6f6684dd17 (patch)
tree68d4e048d6674a4f926e9b53166e53e5063919ab /tools/perf/scripts/python/stackcollapse.py
parente732b538f4557cd0a856bbce3cde55d2dfef3b03 (diff)
bpf: Sanitize BTF data pointer after module is loaded
Given .BTF section is not allocatable, it will get trimmed after module is loaded. BPF system handles that properly by creating an independent copy of data. But prevent any accidental misused by resetting the pointer to BTF data. Fixes: 36e68442d1af ("bpf: Load and verify kernel module BTFs") Suggested-by: Jessica Yu <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Jessica Yu <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions