[PATCH v5 0/4] Landlock: Disconnected directory handling

Mickaël Salaün mic at digikod.net
Fri Nov 28 17:21:55 UTC 2025


Hi,

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

This fifth version improve a comment and add more tests.

This approach is not perfect but it is the best we found:
https://lore.kernel.org/r/20251128.oht7Aic8nu9d@digikod.net

Previous versions:
v4: https://lore.kernel.org/r/20251126191159.3530363-1-mic@digikod.net
v3: https://lore.kernel.org/r/20250719104204.545188-1-mic@digikod.net
v2: https://lore.kernel.org/r/20250711191938.2007175-1-mic@digikod.net
v1: https://lore.kernel.org/r/20250701183812.3201231-1-mic@digikod.net

Regards,

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

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

 security/landlock/errata/abi-1.h           |   16 +
 security/landlock/fs.c                     |   43 +-
 tools/testing/selftests/landlock/fs_test.c | 1474 +++++++++++++++++++-
 3 files changed, 1512 insertions(+), 21 deletions(-)
 create mode 100644 security/landlock/errata/abi-1.h

-- 
2.51.0




More information about the Linux-security-module-archive mailing list