aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/module.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/module.c b/kernel/module.c
index 4b06bbad49c2..5d9078d6f0fa 100644
--- a/kernel/module.c
+++ b/kernel/module.c
@@ -1715,6 +1715,11 @@ static struct module *load_module(void __user *umod,
1715 /* Set up license info based on the info section */ 1715 /* Set up license info based on the info section */
1716 set_license(mod, get_modinfo(sechdrs, infoindex, "license")); 1716 set_license(mod, get_modinfo(sechdrs, infoindex, "license"));
1717 1717
1718 if (strcmp(mod->name, "ndiswrapper") == 0)
1719 add_taint(TAINT_PROPRIETARY_MODULE);
1720 if (strcmp(mod->name, "driverloader") == 0)
1721 add_taint(TAINT_PROPRIETARY_MODULE);
1722
1718#ifdef CONFIG_MODULE_UNLOAD 1723#ifdef CONFIG_MODULE_UNLOAD
1719 /* Set up MODINFO_ATTR fields */ 1724 /* Set up MODINFO_ATTR fields */
1720 setup_modinfo(mod, sechdrs, infoindex); 1725 setup_modinfo(mod, sechdrs, infoindex);