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
--