All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] module: Remove double spaces in module verification taint message
@ 2014-12-22 17:25 Marcel Holtmann
  2014-12-23  4:41 ` Rusty Russell
  0 siblings, 1 reply; 2+ messages in thread
From: Marcel Holtmann @ 2014-12-22 17:25 UTC (permalink / raw)
  To: Rusty Russell; +Cc: linux-kernel

The warning message when loading modules with a wrong signature has
two spaces in it:

"module verification failed: signature and/or  required key missing"

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
---
 kernel/module.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/module.c b/kernel/module.c
index e52a8739361a..57f786bae64d 100644
--- a/kernel/module.c
+++ b/kernel/module.c
@@ -3242,7 +3242,7 @@ static int load_module(struct load_info *info, const char __user *uargs,
 	mod->sig_ok = info->sig_ok;
 	if (!mod->sig_ok) {
 		pr_notice_once("%s: module verification failed: signature "
-			       "and/or  required key missing - tainting "
+			       "and/or required key missing - tainting "
 			       "kernel\n", mod->name);
 		add_taint_module(mod, TAINT_UNSIGNED_MODULE, LOCKDEP_STILL_OK);
 	}
-- 
2.1.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] module: Remove double spaces in module verification taint message
  2014-12-22 17:25 [PATCH] module: Remove double spaces in module verification taint message Marcel Holtmann
@ 2014-12-23  4:41 ` Rusty Russell
  0 siblings, 0 replies; 2+ messages in thread
From: Rusty Russell @ 2014-12-23  4:41 UTC (permalink / raw)
  To: Marcel Holtmann; +Cc: linux-kernel

Marcel Holtmann <marcel@holtmann.org> writes:
> The warning message when loading modules with a wrong signature has
> two spaces in it:
>
> "module verification failed: signature and/or  required key missing"
>
> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>

Rather trivial, but I've applied it.

Thanks,
Rusty.

> ---
>  kernel/module.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/kernel/module.c b/kernel/module.c
> index e52a8739361a..57f786bae64d 100644
> --- a/kernel/module.c
> +++ b/kernel/module.c
> @@ -3242,7 +3242,7 @@ static int load_module(struct load_info *info, const char __user *uargs,
>  	mod->sig_ok = info->sig_ok;
>  	if (!mod->sig_ok) {
>  		pr_notice_once("%s: module verification failed: signature "
> -			       "and/or  required key missing - tainting "
> +			       "and/or required key missing - tainting "
>  			       "kernel\n", mod->name);
>  		add_taint_module(mod, TAINT_UNSIGNED_MODULE, LOCKDEP_STILL_OK);
>  	}
> -- 
> 2.1.0
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-12-23 22:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-22 17:25 [PATCH] module: Remove double spaces in module verification taint message Marcel Holtmann
2014-12-23  4:41 ` Rusty Russell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.