aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
authorPaul Moore <paul@paul-moore.com>2026-05-13 19:44:21 -0400
committerPaul Moore <paul@paul-moore.com>2026-05-13 19:49:53 -0400
commit3fdea26d6f405e7e9878cf8a52386de64641415f (patch)
treeb5c6143217b9cb49cba781649613070aa9253108 /security
parent7cd0da3c29d22e2a8dcbc995b12199bc3d2704a8 (diff)
downloadlinux-next-history-3fdea26d6f405e7e9878cf8a52386de64641415f.tar.gz
hornet: depend on CONFIG_SECURITY and CONFIG_BPF_SYSCALL
Hornet only makes sense as a LSM if the LSM framework is enabled via CONFIG_SECURITY and eBPF is enabled via CONFIG_BPF_SYSCALL. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202605140655.YX9jzufG-lkp@intel.com/ Acked-by: Blaise Boscaccy <bboscaccy@linux.microsoft.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security')
-rw-r--r--security/hornet/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/hornet/Kconfig b/security/hornet/Kconfig
index 5be71d97daee2..537ad015958cd 100644
--- a/security/hornet/Kconfig
+++ b/security/hornet/Kconfig
@@ -1,6 +1,7 @@
# SPDX-License-Identifier: GPL-2.0-only
config SECURITY_HORNET
bool "Hornet support"
+ depends on SECURITY && BPF_SYSCALL
select CRYPTO_LIB_SHA256
select PKCS7_MESSAGE_PARSER
select SYSTEM_DATA_VERIFICATION