[GIT PULL] Landlock fix for v6.15-rc4

Mickaël Salaün mic at digikod.net
Thu Apr 24 19:06:04 UTC 2025


Linus,

This PR fixes some Landlock audit issues, add related tests, and updates
documentation.

Please pull these changes for v6.15-rc4 .  These commits merge cleanly
with your master branch.  They have been been tested in the latest
linux-next releases.

Test coverage for security/landlock is 93.6% of 1524 lines according to
gcc/gcov-14, and it was 93.6% of 1525 lines before this PR.

Regards,
 Mickaël

--
The following changes since commit 0af2f6be1b4281385b618cb86ad946eded089ac8:

  Linux 6.15-rc1 (2025-04-06 13:11:33 -0700)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/mic/linux.git tags/landlock-6.15-rc4

for you to fetch changes up to 47ce2af848b7301d8571f0e01a0d7c7162d51e4a:

  landlock: Update log documentation (2025-04-17 11:09:10 +0200)

----------------------------------------------------------------
Landlock fix for v6.15-rc4

----------------------------------------------------------------
Mickaël Salaün (7):
      landlock: Remove incorrect warning
      landlock: Log the TGID of the domain creator
      selftests/landlock: Factor out audit fixture in audit_test
      selftests/landlock: Add PID tests for audit records
      landlock: Fix documentation for landlock_create_ruleset(2)
      landlock: Fix documentation for landlock_restrict_self(2)
      landlock: Update log documentation

 include/uapi/linux/landlock.h                 |  87 ++++++++++-----
 security/landlock/domain.c                    |   4 +-
 security/landlock/domain.h                    |   2 +-
 security/landlock/syscalls.c                  |  27 +++--
 tools/testing/selftests/landlock/audit.h      |  21 ++--
 tools/testing/selftests/landlock/audit_test.c | 154 +++++++++++++++++++++++---
 tools/testing/selftests/landlock/fs_test.c    |   3 +-
 7 files changed, 226 insertions(+), 72 deletions(-)



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