modsign: log module name in the event of an error
authorJessica Yu <jeyu@kernel.org>
Fri, 29 Jun 2018 14:37:08 +0000 (16:37 +0200)
committerJessica Yu <jeyu@kernel.org>
Mon, 2 Jul 2018 09:36:17 +0000 (11:36 +0200)
commitf314dfea16a085a58d2ff227ea9fa9e490ee5d18
treec203005916d88e491f9cf333929ca9830a84277d
parent996302c5e85650722f1e5aeaeaaac12f9f362bf8
modsign: log module name in the event of an error

Now that we have the load_info struct all initialized (including
info->name, which contains the name of the module) before
module_sig_check(), make the load_info struct and hence module name
available to mod_verify_sig() so that we can log the module name in the
event of an error.

Signed-off-by: Jessica Yu <jeyu@kernel.org>
kernel/module-internal.h
kernel/module.c
kernel/module_signing.c