[PATCH 0/2] efi: Drop unnecessary check for CONFIG_MODULE_SIG/CONFIG_KEXEC_SIG
Thomas Weißschuh
linux at weissschuh.net
Thu Feb 26 18:20:11 AEDT 2026
When configuration settings are disabled the guarded functions are
defined as empty stubs, so the check is unnecessary.
This was originally part of my CONFIG_MODULE_HASHES[0] series,
but as I am dropping IMA compatibility for now, these patches
can go in independently.
[0] https://lore.kernel.org/lkml/20260113-module-hashes-v4-0-0b932db9b56b@weissschuh.net/
Signed-off-by: Thomas Weißschuh <linux at weissschuh.net>
---
Thomas Weißschuh (2):
ima: efi: Drop unnecessary check for CONFIG_MODULE_SIG/CONFIG_KEXEC_SIG
powerpc/ima: Drop unnecessary check for CONFIG_MODULE_SIG
arch/powerpc/kernel/ima_arch.c | 3 +--
security/integrity/ima/ima_efi.c | 6 ++----
2 files changed, 3 insertions(+), 6 deletions(-)
---
base-commit: 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
change-id: 20260225-ima-ifdef-978960c0f00e
Best regards,
--
Thomas Weißschuh <linux at weissschuh.net>
More information about the Linuxppc-dev
mailing list