commit | 5c608a599ab6b2da4e811b8415ea81107a1c7226 | [log] [tgz] |
---|---|---|
author | Toke Høiland-Jørgensen <toke@redhat.com> | Thu Sep 17 20:38:12 2020 +0200 |
committer | Toke Høiland-Jørgensen <toke@redhat.com> | Thu Sep 17 21:14:40 2020 +0200 |
tree | cefda2bf851777bf04c71114c04f5a1c5cdc4af0 | |
parent | c20e8bb5e2232901bdf205b7a1113015791b2cfc [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>