lkml.org 
[lkml]   [2003]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] [RFC] Module licence and EXPORT_SYMBOL_GPL
Date
In message <Pine.LNX.4.44.0301022025200.1700-100000@home.transmeta.com> you wri
te:
>
> 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...
Rusty.
--
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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.030 / U:0.528 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site