Re: ndiswrapper and GPL-only symbols redux

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Alan Cox <alan@...>
Cc: <linux-kernel@...>, Jon Masters <jonathan@...>, Rusty Russell <rusty@...>, Giridhar Pemmasani <pgiri@...>
Date: Tuesday, January 29, 2008 - 7:56 pm

On Tue, 2008-01-29 at 22:45 +0000, Alan Cox wrote:

There are two taint flags.  Let's see:

        if (strcmp(mod->name, "ndiswrapper") == 0)
-               add_taint(TAINT_PROPRIETARY_MODULE);
+               add_taint_module(mod, TAINT_PROPRIETARY_MODULE);

And that's add_taint_module():

static inline void add_taint_module(struct module *mod, unsigned flag)
{
        add_taint(flag);
        mod->taints |= flag;
}

The module taint is set before the symbols are resolved.  Therefore, the
GPL-only symbols won't be resolved.


I know.  But ndiswrapper is a maintained program, which is regularly
updated to work with the latest kernels.  If the author fails to make
the necessary updates for the next kernel for whatever reason, somebody
will fork it and make such updates.

-- 
Regards,
Pavel Roskin
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
ndiswrapper and GPL-only symbols redux, Pavel Roskin, (Tue Jan 29, 5:22 pm)
Re: ndiswrapper and GPL-only symbols redux, Jon Masters, (Tue Jan 29, 8:20 pm)
Re: ndiswrapper and GPL-only symbols redux, Pavel Roskin, (Tue Jan 29, 9:48 pm)
Re: ndiswrapper and GPL-only symbols redux, Jon Masters, (Wed Jan 30, 1:04 am)
RE: ndiswrapper and GPL-only symbols redux, David Schwartz, (Wed Jan 30, 4:50 pm)
Re: ndiswrapper and GPL-only symbols redux, Zan Lynx, (Wed Jan 30, 1:38 am)
Re: ndiswrapper and GPL-only symbols redux, Geert Uytterhoeven, (Wed Jan 30, 3:40 am)
Re: ndiswrapper and GPL-only symbols redux, Jan Engelhardt, (Tue Jan 29, 10:08 pm)
Re: ndiswrapper and GPL-only symbols redux, Jan Engelhardt, (Tue Jan 29, 8:35 pm)
Re: ndiswrapper and GPL-only symbols redux, Jon Masters, (Tue Jan 29, 8:48 pm)
Re: ndiswrapper and GPL-only symbols redux, Pavel Roskin, (Tue Jan 29, 9:33 pm)
Re: ndiswrapper and GPL-only symbols redux, Adrian Bunk, (Tue Jan 29, 6:57 pm)
Re: ndiswrapper and GPL-only symbols redux, Giridhar Pemmasani, (Tue Jan 29, 8:48 pm)
Re: ndiswrapper and GPL-only symbols redux, Adrian Bunk, (Wed Jan 30, 1:54 pm)
Re: ndiswrapper and GPL-only symbols redux, David Newall, (Wed Jan 30, 11:25 pm)
Re: ndiswrapper and GPL-only symbols redux, Chris Friesen, (Thu Jan 31, 11:20 am)
Re: ndiswrapper and GPL-only symbols redux, Chris Friesen, (Wed Jan 30, 2:26 pm)
Re: ndiswrapper and GPL-only symbols redux, Adrian Bunk, (Wed Jan 30, 2:54 pm)
Re: ndiswrapper and GPL-only symbols redux, Lee Revell, (Wed Jan 30, 3:36 pm)
Re: ndiswrapper and GPL-only symbols redux, Alan Cox, (Mon Feb 4, 8:42 am)
Re: ndiswrapper and GPL-only symbols redux, Adrian Bunk, (Mon Feb 4, 9:56 am)
Re: ndiswrapper and GPL-only symbols redux, Adrian Bunk, (Wed Jan 30, 4:28 pm)
Re: ndiswrapper and GPL-only symbols redux, Michael Gerdau, (Wed Jan 30, 9:00 pm)
Re: ndiswrapper and GPL-only symbols redux, Adrian Bunk, (Tue Feb 5, 9:00 am)
Re: ndiswrapper and GPL-only symbols redux, Pavel Roskin, (Tue Jan 29, 7:44 pm)
Re: ndiswrapper and GPL-only symbols redux, Adrian Bunk, (Tue Jan 29, 8:25 pm)
Re: ndiswrapper and GPL-only symbols redux, Pavel Roskin, (Tue Jan 29, 10:02 pm)
Re: ndiswrapper and GPL-only symbols redux, Adrian Bunk, (Wed Jan 30, 1:54 pm)
Re: ndiswrapper and GPL-only symbols redux, Lennart Sorensen, (Wed Jan 30, 2:15 pm)
Re: ndiswrapper and GPL-only symbols redux, Adrian Bunk, (Wed Jan 30, 2:45 pm)
Re: ndiswrapper and GPL-only symbols redux, Lennart Sorensen, (Wed Jan 30, 3:43 pm)
Re: ndiswrapper and GPL-only symbols redux, Adrian Bunk, (Wed Jan 30, 5:09 pm)
Re: ndiswrapper and GPL-only symbols redux, Rusty Russell, (Wed Jan 30, 7:24 am)
Re: ndiswrapper and GPL-only symbols redux, Alan Cox, (Tue Jan 29, 7:04 pm)
Re: ndiswrapper and GPL-only symbols redux, Jan Engelhardt, (Tue Jan 29, 7:06 pm)
Re: ndiswrapper and GPL-only symbols redux, Alan Cox, (Tue Jan 29, 6:45 pm)
Re: ndiswrapper and GPL-only symbols redux, Pavel Roskin, (Tue Jan 29, 7:56 pm)
Re: ndiswrapper and GPL-only symbols redux, Andi Kleen, (Tue Jan 29, 11:24 pm)
Re: ndiswrapper and GPL-only symbols redux, Jon Masters, (Wed Jan 30, 1:07 am)
Re: ndiswrapper and GPL-only symbols redux, Pavel Roskin, (Wed Jan 30, 1:26 am)
Re: ndiswrapper and GPL-only symbols redux, Andi Kleen, (Wed Jan 30, 2:03 am)
Re: ndiswrapper and GPL-only symbols redux, Pavel Roskin, (Wed Jan 30, 2:12 am)
Re: ndiswrapper and GPL-only symbols redux, Pavel Roskin, (Tue Jan 29, 7:21 pm)
Re: ndiswrapper and GPL-only symbols redux, Jon Masters, (Tue Jan 29, 8:25 pm)
Re: ndiswrapper and GPL-only symbols redux, Giridhar Pemmasani, (Tue Jan 29, 6:35 pm)