module: Remove double spaces in module verification taint message
PATCH 1/1 module: Remove double spaces in module verification taint message
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 <[email protected]>
--- kernel/module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/module.c +1 -1
@@ -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 ); }
Signature · 1 line
2.1.0
Quoted 6 lines · Marcel Holtmann
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 <[email protected]>
Rather trivial, but I've applied it.
Thanks,
Rusty.
Quoted 25 lines
--- kernel/module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)kernel/module.c +1
-1@@ -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 ); }Signature · 7 lines
2.1.0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/