2011-10-06 22:39:09 +00:00
|
|
|
diff --git a/kernel/module.c b/kernel/module.c
|
2013-02-26 13:40:33 +00:00
|
|
|
index 921bed4..382414e 100644
|
2011-10-06 22:39:09 +00:00
|
|
|
--- a/kernel/module.c
|
|
|
|
+++ b/kernel/module.c
|
2013-02-26 13:40:33 +00:00
|
|
|
@@ -2873,6 +2873,10 @@ static int check_module_license_and_versions(struct module *mod)
|
2011-10-06 22:39:09 +00:00
|
|
|
if (strcmp(mod->name, "ndiswrapper") == 0)
|
2013-02-26 13:40:33 +00:00
|
|
|
add_taint(TAINT_PROPRIETARY_MODULE, LOCKDEP_NOW_UNRELIABLE);
|
2011-10-06 22:39:09 +00:00
|
|
|
|
|
|
|
+ /* vbox is garbage. */
|
|
|
|
+ if (strcmp(mod->name, "vboxdrv") == 0)
|
2013-02-26 13:40:33 +00:00
|
|
|
+ add_taint(TAINT_CRAP, LOCKDEP_NOW_UNRELIABLE);
|
2011-10-06 22:39:09 +00:00
|
|
|
+
|
|
|
|
/* driverloader was caught wrongly pretending to be under GPL */
|
|
|
|
if (strcmp(mod->name, "driverloader") == 0)
|
2013-02-26 13:40:33 +00:00
|
|
|
add_taint_module(mod, TAINT_PROPRIETARY_MODULE,
|