[PATCH] hornet: depend on CONFIG_SECURITY and CONFIG_BPF_SYSCALL
Paul Moore
paul at paul-moore.com
Thu May 14 01:14:57 UTC 2026
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 at intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202605140655.YX9jzufG-lkp@intel.com/
Signed-off-by: Paul Moore <paul at paul-moore.com>
---
security/hornet/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/security/hornet/Kconfig b/security/hornet/Kconfig
index 5be71d97daee..537ad015958c 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
--
2.54.0
More information about the Linux-security-module-archive
mailing list