Commit 64748a2c authored by Rusty Russell's avatar Rusty Russell

module: printk message when module signature fail taints kernel.

Reported-by: default avatarChris Samuel <>
Signed-off-by: default avatarRusty Russell <>
parent 9a928415
......@@ -3192,8 +3192,13 @@ again:
mod->sig_ok = info->sig_ok;
if (!mod->sig_ok)
if (!mod->sig_ok) {
"%s: module verification failed: signature and/or"
" required key missing - tainting kernel\n",
add_taint_module(mod, TAINT_FORCED_MODULE);
/* Now module is in final location, initialize linked lists, etc. */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment