Re: [PATCH] MODSIGN: Warn when module signature checking fails

Stephen Rothwell
2013-01-21T00:34:40Z

[-- Attachment #1: Type: text/plain, Size: 468 bytes --]

Hi Rusty,

On Mon, 21 Jan 2013 10:06:11 +1030 Rusty Russell <rusty@rustcorp.com.au> wrote:
>
> #ifdef CONFIG_MODULE_SIG
> mod->sig_ok = info->sig_ok;
> - if (!mod->sig_ok)
> + if (!mod->sig_ok) {
> + printk_once(KERN_NOTICE
> + "%s: module verification failed: signature and/or"
> + " required key missing - tainting kernel\n");

Did you forget to add "mod->name"?

--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]