linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Landlock: Disconnected directory handling
@ 2025-07-11 19:19 Mickaël Salaün
  2025-07-11 19:19 ` [PATCH v2 1/3] landlock: Fix handling of disconnected directories Mickaël Salaün
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Mickaël Salaün @ 2025-07-11 19:19 UTC (permalink / raw)
  To: Günther Noack, Tingmao Wang
  Cc: Mickaël Salaün, Al Viro, Ben Scarlato,
	Christian Brauner, Daniel Burgener, Jann Horn, Jeff Xu, NeilBrown,
	Paul Moore, Song Liu, linux-fsdevel, linux-security-module

Hi,

This patch series fixes and test Landlock's handling of disconnected
directories.

This second version fixes initial reset access rights to not wrongfully
deny some requests.  Also, a lot of tests are added to improve coverage
and check edge cases.

Previous version:
v1: https://lore.kernel.org/r/20250701183812.3201231-1-mic@digikod.net

Regards,

Mickaël Salaün (2):
  landlock: Fix handling of disconnected directories
  selftests/landlock: Add disconnected leafs and branch test suites

Tingmao Wang (1):
  selftests/landlock: Add tests for access through disconnected paths

 fs/namei.c                                 |    2 +-
 include/linux/fs.h                         |    1 +
 security/landlock/errata/abi-1.h           |   16 +
 security/landlock/fs.c                     |  124 +-
 tools/testing/selftests/landlock/fs_test.c | 1317 +++++++++++++++++++-
 5 files changed, 1432 insertions(+), 28 deletions(-)
 create mode 100644 security/landlock/errata/abi-1.h

-- 
2.50.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-07-19 10:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-11 19:19 [PATCH v2 0/3] Landlock: Disconnected directory handling Mickaël Salaün
2025-07-11 19:19 ` [PATCH v2 1/3] landlock: Fix handling of disconnected directories Mickaël Salaün
2025-07-14 12:39   ` Tingmao Wang
2025-07-15 18:52     ` Mickaël Salaün
2025-07-19 10:19       ` Mickaël Salaün
2025-07-17 17:32     ` Mickaël Salaün
2025-07-11 19:19 ` [PATCH v2 2/3] selftests/landlock: Add tests for access through disconnected paths Mickaël Salaün
2025-07-11 19:19 ` [PATCH v2 3/3] selftests/landlock: Add disconnected leafs and branch test suites Mickaël Salaün

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).