[PATCH v4 02/17] powerpc/ima: Drop unnecessary check for CONFIG_MODULE_SIG

Eric Biggers ebiggers at kernel.org
Tue Mar 10 21:11:06 UTC 2026


On Tue, Jan 13, 2026 at 01:28:46PM +0100, Thomas Weißschuh wrote:
> When CONFIG_MODULE_SIG is disabled set_module_sig_enforced() is defined
> as an empty stub, so the check is unnecessary.
> The specific configuration option for set_module_sig_enforced() is
> about to change and removing the check avoids some later churn.
> 
> Signed-off-by: Thomas Weißschuh <linux at weissschuh.net>
> ---
>  arch/powerpc/kernel/ima_arch.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)

Reviewed-by: Eric Biggers <ebiggers at kernel.org>

- Eric



More information about the Linux-security-module-archive mailing list