[PATCH 04/27] selftests/landlock: Zero-initialize the buffer in inconsistent_attr

sashiko-bot at kernel.org sashiko-bot at kernel.org
Thu Oct 8 14:33:34 UTC 2026


> This buffer is passed to landlock_create_ruleset() a bit further down,
> expecting an ENOMSG error.  This is only guaranteed when the buffer is
> zero-initialized.
> 
> Assisted-by: LLM
> Signed-off-by: Günther Noack <gnoack3000 at gmail.com>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261008142604.39107-2-gnoack3000@gmail.com?part=4




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