Skip to content

Extend Landlock test to improve rule's coverage

Mickaël Salaün linux-security-module 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 3 repliesIn review
  2. v12 patches 6 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2selftests/landlock: Add tests to check unknown rule's access rightstools/testing/selftests/landlock/fs_test.c tools/testing/selftests/landlock/net_test.c+54 -22 replies
2/2selftests/landlock: Add tests to check unhandled rule's access rightstools/testing/selftests/landlock/fs_test.c tools/testing/selftests/landlock/net_test.c+66 -01 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchGünther Noack
1/2R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] Extend Landlock test to improve rule's coverage

Hi,

These are new tests to give more backward compatibility guarantees about rule's access rights. This might be useful for changes happening in the access right handling, especially with synthetic access rights:
https://lore.kernel.org/r/[email protected]

Previous version:
v1: https://lore.kernel.org/r/[email protected]

Regards,

Mickaël Salaün (2):
selftests/landlock: Add tests to check unknown rule's access rights selftests/landlock: Add tests to check unhandled rule's access rights

 tools/testing/selftests/landlock/fs_test.c  | 63 ++++++++++++++++++++-
 tools/testing/selftests/landlock/net_test.c | 59 ++++++++++++++++++-
 2 files changed, 120 insertions(+), 2 deletions(-)

base-commit: b85ea95d086471afb4ad062012a4d73cd328fa86

Signature · 1 line
2.42.1