]> Git Repo - linux.git/commit
MODSIGN: Export module signature definitions
authorThiago Jung Bauermann <[email protected]>
Thu, 4 Jul 2019 18:57:34 +0000 (15:57 -0300)
committerMimi Zohar <[email protected]>
Mon, 5 Aug 2019 22:39:56 +0000 (18:39 -0400)
commitc8424e776b093280d3fdd104d850706b3b229ac8
tree3f14381fe576439fa1fa94736b67d1015c40752d
parentb36f281f4a314de4be0a51d6511b794691f8a244
MODSIGN: Export module signature definitions

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 <linux/module_signature.h> header instead.

Signed-off-by: Thiago Jung Bauermann <[email protected]>
Acked-by: Jessica Yu <[email protected]>
Reviewed-by: Philipp Rudo <[email protected]>
Cc: Heiko Carstens <[email protected]>
Signed-off-by: Mimi Zohar <[email protected]>
arch/s390/Kconfig
arch/s390/kernel/machine_kexec_file.c
include/linux/module.h
include/linux/module_signature.h [new file with mode: 0644]
init/Kconfig
kernel/Makefile
kernel/module.c
kernel/module_signature.c [new file with mode: 0644]
kernel/module_signing.c
scripts/Makefile
This page took 0.046557 seconds and 4 git commands to generate.