[PATCH] x86/ima: require signed kernel modules

Nayna nayna at linux.vnet.ibm.com
Tue Feb 5 16:10:49 UTC 2019

On 01/31/2019 02:18 PM, Mimi Zohar wrote:
> Require signed kernel modules on systems with secure boot mode enabled.
> To coordinate between appended kernel module signatures and IMA
> signatures, only define an IMA MODULE_CHECK policy rule if
> CONFIG_MODULE_SIG is not enabled.
> This patch defines a function named set_module_sig_required() and renames
> is_module_sig_enforced() to is_module_sig_enforced_or_required().  The
> call to set_module_sig_required() is dependent on CONFIG_IMA_ARCH_POLICY
> being enabled.
> Signed-off-by: Mimi Zohar <zohar at linux.ibm.com>
> ---

Reviewed-by: Nayna Jain <nayna at linux.ibm.com>

Thanks & Regards,
      - Nayna

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