[PATCH v3 3/5] selftests/landlock: Test that layering does not break refer
sashiko-bot at kernel.org
sashiko-bot at kernel.org
Fri Nov 13 20:44:23 UTC 2026
> Regression test to exercise that layered Landlock domains do not
> accidentally deny the LANDLOCK_ACCESS_FS_REFER access right. This
> used to be the case when layering a non-filesystem ruleset with a
> filesystem-enforcing ruleset. In that case, REFER operations that
> would have been allowed for the individual rulesets would get denied
> when layering the same rulesets.
>
> Link: https://github.com/landlock-lsm/linux/issues/67
> Link: https://github.com/landlock-lsm/go-landlock/issues/66
> Fixes: fff69fb03dde ("landlock: Support network rules with TCP bind and connect")
> Cc: stable at vger.kernel.org
> Signed-off-by: Günther Noack <gnoack3000 at gmail.com>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261113-b4-landlock-refer-nonfs-layer-v3-0-02d7e42bcdfd@gmail.com?part=3
More information about the Linux-security-module-archive
mailing list