diff options
author | Jeff Xu <[email protected]> | 2023-01-14 02:03:06 +0000 |
---|---|---|
committer | Mickaël Salaün <[email protected]> | 2023-01-27 18:53:55 +0100 |
commit | 8677e555f17f51321d0730b945aeb7d4b95f998f (patch) | |
tree | 3c0d004a5630561c2b14dcb70f4a29b131d86166 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 366617a69e60610912836570546f118006ebc7cb (diff) |
selftests/landlock: Test ptrace as much as possible with Yama
Update ptrace tests according to all potential Yama security policies.
This is required to make such tests pass even if Yama is enabled.
Tests are not skipped but they now check both Landlock and Yama boundary
restrictions at run time to keep a maximum test coverage (i.e. positive
and negative testing).
Signed-off-by: Jeff Xu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Cc: [email protected]
[mic: Add curly braces around EXPECT_EQ() to make it build, and improve
commit message]
Co-developed-by: Mickaël Salaün <[email protected]>
Signed-off-by: Mickaël Salaün <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions