commit | 9c047f7868067a40515cc1ee04ab4ca331debf4a | [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> | Sat Sep 19 12:34:10 2020 +0200 |
tree | 6db2fde23c8310b706297d2f8557d230ddfe5979 | |
parent | 25fda299b384d620f7c79313286e752d969ce68b [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>