Re: [PATCH] [RFC] Module licence and EXPORT_SYMBOL_GPL
Rusty Russell (firstname.lastname@example.org)
Fri, 03 Jan 2003 16:19:13 +1100
In message <Pine.LNX.email@example.com> you wri
> On Fri, 3 Jan 2003, Rusty Russell wrote:
> > Linus, your options:
> > 1) Drop the patch and leave well enough alone.
> > 2) Just keep the module licence taint check.
> > 3) Say OK to the whole thing (once I've tested it against latest bk).
> Hmm.. Can you make the "module_is_gpl()" thing a load-time check, and
> instead of carrying the license string along at run-time, you just carry
> the "I'm GPL-ok'd" bit along.
Just call it ".init.license" instead of ".license" and you're done:
it's never used at runtime (well, setting the mod->license field to
NULL after init to make sure noone abuses it might make sense).
I'll test it now...
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/