Commit eef2bc5a82c2 for kernel
commit eef2bc5a82c25d25c3082f5d86d97a300caeb678
Merge: f802b6558eb8 4feb6879b9ab
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date: Sat Nov 21 17:11:11 2026 -0800
Merge tag 'landlock-7.4-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/mic/linux
Pull Landlock fixes from Mickaël Salaün:
- prevent composed rulesets from denying link and rename operations
that each ruleset allows separately;
- close capability-mediation gaps for low-address mappings, inheritable
capabilities, the admin memory reserve, and PR_SET_SECUREBITS, so LSM
capability denials apply consistently;
- distinguish namespace creation from entry in denial records and
expose the checked capability context to BPF tracepoint consumers, so
they can interpret denials correctly.
* tag 'landlock-7.4-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/mic/linux:
landlock: Add missing EINVAL case in the doc for landlock_add_rule
clang-format: Fix formatting of guard()
landlock: Document namespace denial operations
selftests/landlock: Test namespace denial operations
landlock: Add capability objects to denial tracing
landlock: Distinguish namespace creation and entry denials
selftests/landlock: Test PR_SET_SECUREBITS mediation
capabilities: Check PR_SET_SECUREBITS with ns_capable()
landlock: Fix capability restriction documentation
selftests/landlock: Test capability checks outside the capable hook
landlock: Mediate CAP_SYS_ADMIN for the admin memory reserve
landlock: Mediate CAP_SETPCAP for inheritable capabilities
landlock: Mediate CAP_SYS_RAWIO for mappings below mmap_min_addr
landlock: Factor out capability denial checks
landlock: Clarify implicit handling of LANDLOCK_ACCESS_FS_REFER
landlock: Simplify landlock_get_fs_access_mask()
selftests/landlock: Test that layering does not break refer
landlock: Add KUnit test for landlock_get_fs_access_mask()
landlock: Fix layer composition of LANDLOCK_ACCESS_FS_REFER