Re: [PATCH 5.15.y 2/2] selftests/landlock: Add tests for whiteout object creation
Sasha Levin <[email protected]>
| Newsgroups | org.kernel.vger.linux-doc,org.kernel.vger.linux-fsdevel,org.kernel.vger.linux-kernel,org.kernel.vger.linux-security-module,org.kernel.vger.stable |
|---|---|
| Message-ID | <2026-09-17-daily-reply-0015-landlock-whiteout-tests-hold@kernel.org> |
> [ Upstream commit ee890889b30b22f9a21636061def7a04e4f89380 ]
>
> Add tests to check that whiteout object creation is guarded by
> LANDLOCK_ACCESS_FS_MAKE_REG, in the cases where these are created from
> userspace:
I am holding these until the newer trees are covered. 7.2 and 6.18 already
carry 672fa082d48b ("landlock: Require LANDLOCK_ACCESS_FS_MAKE_REG for whiteout
creation") but not ee890889b30b ("selftests/landlock: Add tests for whiteout
object creation"), and taking a fix on 6.12 and older while 6.18 lacks it is
the wrong order.
7.2 can take the upstream commit as is, but 6.18 cannot: it has no enforce_fs()
and dc75f8904694 ("selftests/landlock: Simplify ruleset creation and
enforcement in fs_test") does not apply there.
Could you send a 6.18.y version? The 6.12, 6.6, 6.1 and 5.15 patches themselves
look good and I will take them once 6.18 is in hand.
--
Thanks,
Sasha