linux/export.h is not needed since the file has no EXPORT_SYMBOL() usage.
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, and drop the now stale extern declaration. The existing
enum comment in include/linux/security.h already pointed at
security/lockdown/lockdown.c and becomes accurate now that the array has
moved there.
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/20261110132818.2231593-1-caixinchen1@huawei.com?part=5