# Re: \[PATCH -next 7/9\] lockdown: move lockdown\_reasons next to its only user

- From: sashiko-bot@kernel.org
- Date: 2026-11-03 07:55:58 
- List: linux-security-module
- Page: https://ratatoskr.run/linux-security-module/2026/11/17850237
- Thread: https://ratatoskr.run/linux-security-module/2026/11/17850177/t.md

```text
> 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 <redacted>

Sashiko has reviewed this patch and found no issues.

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

```
