aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorToke Høiland-Jørgensen <[email protected]>2020-09-29 14:45:57 +0200
committerAlexei Starovoitov <[email protected]>2020-09-29 13:09:24 -0700
commitbee4b7e6268be9267e288936f5b1215fec3d4368 (patch)
tree1963385635b40446667c35f61b2bf74f1c9779d1 /tools/perf/scripts/python/stackcollapse.py
parent17d3f386757609223aa02342d29526daa67efafc (diff)
selftests: Add selftest for disallowing modify_return attachment to freplace
This adds a selftest that ensures that modify_return tracing programs cannot be attached to freplace programs. The security_ prefix is added to the freplace program because that would otherwise let it pass the check for modify_return. Signed-off-by: Toke Høiland-Jørgensen <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Andrii Nakryiko <[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