[GIT PULL] Landlock fix for v7.2-rc4

From: Mickaël Salaün

Date: Thu Jul 16 2026 - 16:16:17 EST


Hi,

This PR fixes TCP Fast Open support, specific test environments, and doc
warnings.

Please pull these changes for v7.2-rc4 . These commits merge cleanly
with your master branch. Most kernel changes have been tested in the
latest linux-next releases for some weeks.

Test coverage for security/landlock is 91.8% of 2357 lines according to
LLVM 22, and it was 91.7% of 2351 lines before this PR.

Regards,
Mickaël

--
The following changes since commit dc59e4fea9d83f03bad6bddf3fa2e52491777482:

Linux 7.2-rc1 (2026-06-28 12:01:31 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 5ab1dc6d110db6bee167a32fd94c53ea0e7ad6d2:

selftests/landlock: Skip scoped_signal subtest with MSG_OOB if not available (2026-07-10 12:59:11 +0200)

----------------------------------------------------------------
Landlock fix for v7.2-rc4

----------------------------------------------------------------
Matthieu Buffet (2):
landlock: Fix TCP Fast Open connection bypass
selftests/landlock: Add test for TCP fast open

Mickaël Salaün (2):
landlock: Fix kernel-doc for the nested quiet layer flag
landlock: Update formatting

Thomas Huth (2):
selftests/landlock: Fix screwed up pointers in the scoped_signal_test
selftests/landlock: Skip scoped_signal subtest with MSG_OOB if not available

security/landlock/net.c | 8 ++
security/landlock/ruleset.h | 4 +-
security/landlock/task.c | 9 +-
tools/testing/selftests/landlock/net_test.c | 97 ++++++++++++++++++++++
.../selftests/landlock/scoped_signal_test.c | 67 ++++++++++-----
5 files changed, 154 insertions(+), 31 deletions(-)