[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130121113430.460efbd10537801cab90af5b@canb.auug.org.au>
Date:	Mon, 21 Jan 2013 11:34:30 +1100
From:	Stephen Rothwell <sfr@...b.auug.org.au>
To:	Rusty Russell <rusty@...tcorp.com.au>
Cc:	Chris Samuel <chris@...muel.org>, linux-kernel@...r.kernel.org,
	dhowells@...hat.com, Josh Boyer <jwboyer@...il.com>
Subject: Re: [PATCH] MODSIGN: Warn when module signature checking fails
Hi Rusty,
On Mon, 21 Jan 2013 10:06:11 +1030 Rusty Russell <rusty@...tcorp.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@...b.auug.org.au
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists