summaryrefslogtreecommitdiff
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2025-08-25 01:28:00 +0300
committerPaul Moore <paul@paul-moore.com>2025-09-11 23:32:04 +0300
commit54d94c422fed9575b74167333c1757847a4e6899 (patch)
treeb9f434cec5b9f23d35174442d055cb91f9310683 /security/selinux/hooks.c
parent67fe7be7dffd0e27bcba472777d34b59b90f7330 (diff)
downloadlinux-54d94c422fed9575b74167333c1757847a4e6899.tar.xz
lsm: CONFIG_LSM can depend on CONFIG_SECURITY
When CONFIG_SECURITY is not set, CONFIG_LSM (builtin_lsm_order) does not need to be visible and settable since builtin_lsm_order is defined in security.o, which is only built when CONFIG_SECURITY=y. So make CONFIG_LSM depend on CONFIG_SECURITY. Fixes: 13e735c0e953 ("LSM: Introduce CONFIG_LSM") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> [PM: subj tweak] Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions