Re: incorrect taint of ndiswrapper

Pavel Roskin
2006-10-26T22:29:56Z

On Thu, 2006-10-26 at 23:46 +0200, Adrian Bunk wrote:
> On Thu, Oct 26, 2006 at 03:19:00PM -0400, Pavel Roskin wrote:
> >...
> >
> > This means that ndiswrapper would be considered as a derived work of
> > Linux. Since ndiswrapper is under GPL, it would suffer unfairly if the
> > meaning of EXPORT_SYMBOL_GPL is extended to restrict GPLed modules
> > capable of loading proprietary code into the kernel.
> >...
>
> You could always write a tiny GPL-ed wrapper module with the sole
> purpose of offering all EXPORT_SYMBOL_GPL'ed functions through
> EXPORT_SYMBOL'ed wrapper functions.

Yes, but it's irrelevant. The kernel should not dictate how ndiswrapper
or any other driver should be structured.

I think such module would be quite inelegant. It would be a useless
layer of indirection created to compensate for a kernel bug.

> You are using a gnu.org address for publically stating that trying to
> prevent such kinds of wrapping was unfair?

I didn't even consider this trick. I was talking about a more
reasonable split of the code loader from the bus-specific code. Neither
did I suggest that it would be unfair to block any wrapping. I said it
would be hard and technically infeasible.

I'm using the same e-mail address for all free software work. I don't
represent Free Software Foundation, although I consider it a honor to
have an account with them.

> It's not even clear that any modules containing non-GPL'ed code were
> legal.

I'm not a lawyer, but I think one cannot classify software as legal or
illegal. The law governs what people do. Running such mix may be legal
even if distribution is not.

Anyway, I don't think it's relevant to ndiswrapper.

> EXPORT_SYMBOL_GPL shows a pretty clear intention, and offering
> functionality provided throug h EXPORT_SYMBOL_GPL'ed symbols to
> proprietary code sounds very fishy.

Last time I checked, EXPORT_SYMBOL_GPL was an indication that a code
using it will be considered as a work derived from Linux. This way,
ndiswrapper, which is free software, can be considered a derived work.

NDIS drivers don't know about any Linux API, therefore they cannot use
it directly. The purpose of ndiswrapper is not to remove limitations
from the Linux API, but to present a completely different API.

Non-free code does not contains any code derived from Linux because it
wasn't even written for Linux.

--
Regards,
Pavel Roskin