diff options
author | Toke Høiland-Jørgensen <toke@redhat.com> | 2020-09-29 14:45:57 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-09-29 13:09:24 -0700 |
commit | bee4b7e6268be9267e288936f5b1215fec3d4368 (patch) | |
tree | 1963385635b40446667c35f61b2bf74f1c9779d1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 17d3f386757609223aa02342d29526daa67efafc (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 <toke@redhat.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Link: https://lore.kernel.org/bpf/160138355713.48470.3811074984255709369.stgit@toke.dk
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions