[PATCH] hornet: depend on CONFIG_SECURITY and CONFIG_BPF_SYSCALL
Blaise Boscaccy
bboscaccy at linux.microsoft.com
Thu May 14 15:20:50 UTC 2026
Paul Moore <paul at paul-moore.com> writes:
> 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
Acked-by: Blaise Boscaccy <bboscaccy at linux.microsoft.com>
More information about the Linux-security-module-archive
mailing list