[GIT PULL] Landlock fix for v7.3-rc5

From: Mickaël Salaün

Date: Thu Sep 24 2026 - 12:42:56 EST


Hi,

This mainly fixes the Landlock tracepoint support merged this cycle so
that denial and rule events report the intended policy context, whether
through tracefs or BTF-visible callbacks. The size comes from
propagating the corrected contract through event definitions and
producers, adding new tests for the reported context, and updating the
documentation. This PR also improves annotation and fixes a GCC 16
build warning.

Please pull these changes for v7.3-rc5 . These commits have been part
of latest linux-next releases and merge cleanly with your master branch.

Test coverage for security/landlock is 91.6% of 2625 lines according to
LLVM 22, and it was 91.6% of 2574 lines before this PR.

Regards,
Mickaël

--
The following changes since commit fd73f4a6659897191fa0d40695fe370925dd3780:

Linux 7.3-rc3 (2026-09-13 14:38:02 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/mic/linux.git tags/landlock-7.3-rc5

for you to fetch changes up to e7e0a54300a896e731dffd3e2e8dae5631d6243d:

landlock: Widen ruleset versions to 64 bits (2026-09-22 20:52:13 +0200)

----------------------------------------------------------------
Landlock fix for v7.3-rc5

----------------------------------------------------------------
Arnd Bergmann (1):
landlock: Work around gcc-16 -Wuninitialized warning

Mickaël Salaün (10):
landlock: Fix tracepoint fixed-width type names
landlock: Fix filesystem denial blocker reporting
landlock: Fix rule tracepoint context
landlock: Fix network denial trace context
landlock: Report the actual ptrace tracer
landlock: Report the effective signal number
selftests/landlock: Test filesystem denial blockers
selftests/landlock: Test network denial context
landlock: Fix tracepoint contract documentation
landlock: Widen ruleset versions to 64 bits

Tingmao Wang (1):
landlock: Add counted_by in landlock_domain

Documentation/trace/events-landlock.rst | 52 ++--
include/trace/events/landlock.h | 301 ++++++++++++++---------
security/landlock/access.h | 8 +
security/landlock/domain.h | 3 +-
security/landlock/fs.c | 10 +-
security/landlock/log.h | 52 +++-
security/landlock/net.c | 42 +++-
security/landlock/ruleset.h | 5 +-
security/landlock/task.c | 87 ++++---
security/landlock/trace.c | 71 ++++--
tools/testing/selftests/landlock/fs_test.c | 28 +--
tools/testing/selftests/landlock/net_test.c | 295 +++++++++++-----------
tools/testing/selftests/landlock/trace.h | 59 +++--
tools/testing/selftests/landlock/trace_fs_test.c | 130 ++++++++--
tools/testing/selftests/landlock/trace_test.c | 51 ++--
15 files changed, 753 insertions(+), 441 deletions(-)