Commit 9841d61d authored by Dave Jones's avatar Dave Jones Committed by Linus Torvalds
Browse files

[PATCH] Add tainting for proprietary helper modules

Kernels that have had Windows drivers loaded into them are undebuggable.
I've wasted a number of hours chasing bugs filed in Fedora bugzilla only to
find out much later that the user had used such 'helpers', and their
problems were unreproducable without them loaded.

Acked-by: default avatarArjan van de Ven <>
Signed-off-by: default avatarDave Jones <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent f867bac6
......@@ -1715,6 +1715,11 @@ static struct module *load_module(void __user *umod,
/* Set up license info based on the info section */
set_license(mod, get_modinfo(sechdrs, infoindex, "license"));
if (strcmp(mod->name, "ndiswrapper") == 0)
if (strcmp(mod->name, "driverloader") == 0)
/* Set up MODINFO_ATTR fields */
setup_modinfo(mod, sechdrs, infoindex);
Supports Markdown
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