]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
landlock: Use mem_is_zero() in is_layer_masks_allowed()
authorGünther Noack <gnoack3000@gmail.com>
Fri, 27 Mar 2026 16:48:27 +0000 (17:48 +0100)
committerMickaël Salaün <mic@digikod.net>
Tue, 7 Apr 2026 16:51:06 +0000 (18:51 +0200)
commit1c4fe87364782d1b058cc9d15fc8acef44bce033
treef626d32e582ef9199f347c24b5f9a79ecd808016
parenteb25e202b3d60cdc239f14e0e5f6f7465fcc506c
landlock: Use mem_is_zero() in is_layer_masks_allowed()

This is equivalent, but expresses the intent a bit clearer.

Signed-off-by: Günther Noack <gnoack3000@gmail.com>
Link: https://lore.kernel.org/r/20260327164838.38231-3-gnoack3000@gmail.com
Signed-off-by: Mickaël Salaün <mic@digikod.net>
security/landlock/fs.c