projects/linux·commit 0e2d57fc

[PATCH] ndiswrapper: don't set the module->taints flags

0e2d57fc · Randy Dunlap <[email protected]> · 2006-10-29 22:46:34 -08:00

For ndiswrapper, don't set the module->taints flags, just set the kernel
global tainted flag.  This should allow ndiswrapper to continue to use GPL
symbols.

Signed-off-by: Randy Dunlap <[email protected]>
Cc: Florin Malita <[email protected]>
Cc: Alan Cox <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
0e2d57fc6e7dabdbfdd4f26c861e7e6c75d5bdcf
Parents
a5a89bae

Changes

1 files changed · +1 −1

FileStatusAddDelContent
kernel/module.cmodified+1−1View file

kernel/module.c

View file
diff --git a/kernel/module.c b/kernel/module.c
index 5072a94..f016656 100644
--- a/kernel/module.c
+++ b/kernel/module.c
@@ -1718,7 +1718,7 @@ static struct module *load_module(void __user *umod,
set_license(mod, get_modinfo(sechdrs, infoindex, "license"));
if (strcmp(mod->name, "ndiswrapper") == 0)
- add_taint_module(mod, TAINT_PROPRIETARY_MODULE);
+ add_taint(TAINT_PROPRIETARY_MODULE);
if (strcmp(mod->name, "driverloader") == 0)
add_taint_module(mod, TAINT_PROPRIETARY_MODULE);