[PATCH -next 7/9] lockdown: move lockdown_reasons next to its only user

sashiko-bot at kernel.org sashiko-bot at kernel.org
Tue Nov 3 07:55:58 UTC 2026


> lockdown_reasons[] is only used by the lockdown LSM after the audit
> data was removed from lsm_audit. Move it into
> security/lockdown/lockdown.c, make it static, drop the now stale extern
> declaration, and point the enum comment at the new location.
> 
> No functional change.
> 
> Signed-off-by: Cai Xinchen <caixinchen1 at huawei.com>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261103082421.3033195-1-caixinchen1@huawei.com?part=7




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