public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Add tainting for proprietary helper modules.
@ 2005-12-03  0:41 Dave Jones
  2005-12-03  0:58 ` Zan Lynx
  2005-12-05 13:41 ` linux-os (Dick Johnson)
  0 siblings, 2 replies; 15+ messages in thread
From: Dave Jones @ 2005-12-03  0:41 UTC (permalink / raw)
  To: linux-kernel

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: Arjan van de Ven <arjan@infradead.org>
Signed-off-by: Dave Jones <davej@redhat.com>

--- linux-2.6.14/kernel/module.c~	2005-11-29 16:44:00.000000000 -0500
+++ linux-2.6.14/kernel/module.c	2005-11-29 17:03:55.000000000 -0500
@@ -1723,6 +1723,11 @@ static struct module *load_module(void _
 	/* Set up license info based on the info section */
 	set_license(mod, get_modinfo(sechdrs, infoindex, "license"));
 
+	if (strcmp(mod->name, "ndiswrapper") == 0)
+		add_taint(TAINT_PROPRIETARY_MODULE);
+	if (strcmp(mod->name, "driverloader") == 0)
+		add_taint(TAINT_PROPRIETARY_MODULE);
+
 #ifdef CONFIG_MODULE_UNLOAD
 	/* Set up MODINFO_ATTR fields */
 	setup_modinfo(mod, sechdrs, infoindex);

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2006-01-06 11:41 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-03  0:41 Add tainting for proprietary helper modules Dave Jones
2005-12-03  0:58 ` Zan Lynx
2005-12-03  1:11   ` Dave Jones
2005-12-05 13:41 ` linux-os (Dick Johnson)
2005-12-05 17:30   ` Dave Jones
2005-12-05 17:34     ` Stephen Hemminger
2005-12-05 17:54       ` Mark Lord
2005-12-06 20:06       ` Alan Cox
2005-12-06 20:12         ` Brian Gerst
2005-12-06 20:28           ` Alan Cox
2005-12-06 21:34             ` Randy.Dunlap
2006-01-06  9:49     ` Coywolf Qi Hunt
2006-01-06 10:06       ` Xavier Bestel
2006-01-06 10:46       ` Jan Engelhardt
2006-01-06 11:41         ` Coywolf Qi Hunt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox