Re: What does tainting actually mean?

From: Anthony de Boer
Date: Thu May 06 2004 - 10:28:18 EST


Nigel Cunningham wrote:
> What does tainting actually mean?

It seems to schitzophrenically try to mean two things: on the one hand,
it tries to flag GPL purity, and on the other hand it tries to indicate
whether or not the module's source code is readily available to someone
wanting to debug that kernel.

This was brought home to me awhile ago; up through at least 2.4.18,
net/ipv4/netfilter/ipchains_core.c said MODULE_LICENSE("BSD without
advertisement clause"); and tainted the kernel with code in its own
tarball.

One must ask if BSD code for which you have the source in hand is an evil
thing or not. Or how about something that's GPL but for which you can't
readily lay hands on the source? The GPL predates the Web, and doesn't
say you have to be able to Google for source; you might still have to pay
the author the cost of shipping you a 9-track tape.

Proposed: a MODULE_SOURCE string, containing either the path relative to
the kernel directory, or a URL at which source can be found, and you can
decline to debug a kernel if it has modules for which MODULE_SOURCE isn't
given or doesn't lead you to the code.

--
Anthony de Boer
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/