commit | 6d27bb8334979b0a978423fee2c28c1cc7631979 | [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> | Tue Sep 29 14:34:02 2020 +0200 |
tree | 077006410c0ed5aa02f139d584d22bebd0446a0e | |
parent | 4119cfc372f0d5a6a8027bd66be287af22fd85b6 [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. Acked-by: Andrii Nakryiko <andriin@fb.com> Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>