diff options
author | 2020-09-29 14:45:57 +0200 | |
---|---|---|
committer | 2020-09-29 13:09:24 -0700 | |
commit | bee4b7e6268be9267e288936f5b1215fec3d4368 (patch) | |
tree | 1963385635b40446667c35f61b2bf74f1c9779d1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | selftests/bpf: Adding test for arg dereference in extension trace (diff) | |
download | wireguard-linux-bee4b7e6268be9267e288936f5b1215fec3d4368.tar.xz wireguard-linux-bee4b7e6268be9267e288936f5b1215fec3d4368.zip |
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