* [GIT PULL] Landlock update for v7.1-rc1
@ 2026-04-09 17:31 Mickaël Salaün
0 siblings, 0 replies; only message in thread
From: Mickaël Salaün @ 2026-04-09 17:31 UTC (permalink / raw)
To: Linus Torvalds
Cc: Mickaël Salaün, Georgia Garcia, Günther Noack,
Günther Noack, Jann Horn, Justin Suess, Paul Moore,
Sebastian Andrzej Siewior, linux-kernel, linux-security-module
Hi,
This PR adds a new Landlock access right for pathname UNIX domain
sockets thanks to a new LSM hook, and a few fixes.
Please pull these changes for v7.1-rc1 . These commits merge cleanly
with your master branch. Kernel changes have been tested in the latest
linux-next releases for some weeks, and since this week for the
LOG_SUBDOMAINS_OFF fixes.
Test coverage for security/landlock is 91.1% of 2152 lines according to
LLVM 21, and it was 91.0% of 2105 lines before this PR.
Regards,
Mickaël
--
The following changes since commit 7aaa8047eafd0bd628065b15757d9b48c5f9c07d:
Linux 7.0-rc6 (2026-03-29 15:40:00 -0700)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/mic/linux.git tags/landlock-7.1-rc1
for you to fetch changes up to 3457a5ccacd34fdd5ebd3a4745e721b5a1239690:
landlock: Document fallocate(2) as another truncation corner case (2026-04-07 18:51:11 +0200)
----------------------------------------------------------------
Landlock update for v7.1-rc1
----------------------------------------------------------------
Günther Noack (11):
landlock: Use mem_is_zero() in is_layer_masks_allowed()
landlock: Control pathname UNIX domain socket resolution by path
landlock: Clarify BUILD_BUG_ON check in scoping logic
samples/landlock: Add support for named UNIX domain socket restrictions
selftests/landlock: Replace access_fs_16 with ACCESS_ALL in fs_test
selftests/landlock: Test LANDLOCK_ACCESS_FS_RESOLVE_UNIX
selftests/landlock: Audit test for LANDLOCK_ACCESS_FS_RESOLVE_UNIX
selftests/landlock: Check that coredump sockets stay unrestricted
selftests/landlock: Simplify ruleset creation and enforcement in fs_test
landlock: Document FS access right for pathname UNIX sockets
landlock: Document fallocate(2) as another truncation corner case
Justin Suess (1):
lsm: Add LSM hook security_unix_find
Mickaël Salaün (11):
landlock: Fix LOG_SUBDOMAINS_OFF inheritance across fork()
landlock: Allow TSYNC with LOG_SUBDOMAINS_OFF and fd=-1
selftests/landlock: Fix snprintf truncation checks in audit helpers
selftests/landlock: Fix socket file descriptor leaks in audit helpers
selftests/landlock: Drain stale audit records on init
selftests/landlock: Skip stale records in audit_match_record()
selftests/landlock: Fix format warning for __u64 in net_test
landlock: Add missing kernel-doc "Return:" sections
landlock: Improve kernel-doc "Return:" section consistency
landlock: Fix formatting in tsync.c
landlock: Fix kernel-doc warning for pointer-to-array parameters
Documentation/security/landlock.rst | 42 +-
Documentation/userspace-api/landlock.rst | 22 +-
include/linux/lsm_hook_defs.h | 5 +
include/linux/security.h | 11 +
include/uapi/linux/landlock.h | 25 +-
net/unix/af_unix.c | 10 +-
samples/landlock/sandboxer.c | 12 +-
security/landlock/access.h | 4 +-
security/landlock/audit.c | 1 +
security/landlock/cred.c | 6 +-
security/landlock/cred.h | 2 +-
security/landlock/domain.c | 6 +-
security/landlock/fs.c | 163 ++-
security/landlock/id.c | 2 +-
security/landlock/limits.h | 2 +-
security/landlock/ruleset.c | 14 +-
security/landlock/ruleset.h | 2 +-
security/landlock/syscalls.c | 33 +-
security/landlock/task.c | 22 +-
security/landlock/tsync.c | 124 +-
security/security.c | 20 +
tools/testing/selftests/landlock/audit.h | 133 +-
tools/testing/selftests/landlock/audit_test.c | 357 +++++-
tools/testing/selftests/landlock/base_test.c | 2 +-
tools/testing/selftests/landlock/fs_test.c | 1343 +++++++++++---------
tools/testing/selftests/landlock/net_test.c | 2 +-
tools/testing/selftests/landlock/ptrace_test.c | 1 -
.../selftests/landlock/scoped_abstract_unix_test.c | 1 -
tools/testing/selftests/landlock/tsync_test.c | 77 ++
29 files changed, 1650 insertions(+), 794 deletions(-)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-04-09 17:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-09 17:31 [GIT PULL] Landlock update for v7.1-rc1 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