06 Aug, 2019
1 commit
-
IMA will use the module_signature format for append signatures, so export
the relevant definitions and factor out the code which verifies that the
appended signature trailer is valid.Also, create a CONFIG_MODULE_SIG_FORMAT option so that IMA can select it
and be able to use mod_check_sig() without having to depend on either
CONFIG_MODULE_SIG or CONFIG_MODULES.s390 duplicated the definition of struct module_signature so now they can
use the new header instead.Signed-off-by: Thiago Jung Bauermann
Acked-by: Jessica Yu
Reviewed-by: Philipp Rudo
Cc: Heiko Carstens
Signed-off-by: Mimi Zohar