[PATCH v3 2/5] landlock: Add KUnit test for landlock_get_fs_access_mask()

sashiko-bot at kernel.org sashiko-bot at kernel.org
Fri Nov 13 20:37:34 UTC 2026


> This checks that landlock_upgrade_handled_layer_config() and
> landlock_get_fs_access_mask() together result in the right handled
> access rights being reported by landlock_get_fs_access_mask():
> LANDLOCK_ACCESS_FS_REFER is only implicit if any of the other
> filesystem access rights are handled.
> 
> 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=2




More information about the Linux-security-module-archive mailing list