Re: GPL-only symbols issue
From: Sam Ravnborg
Date: Sat Jun 17 2006 - 17:05:59 EST
On Mon, May 08, 2006 at 09:25:00PM -0700, Greg KH wrote:
> On Mon, May 08, 2006 at 09:12:15AM +0200, Jan Beulich wrote:
> > Sam,
> >
> > would it seem reasonable a request to detect imports of GPL-only
> > symbols by non-GPL modules also at build time rather than only at run
> > time, and at least warn about such?
>
> Ram has some tools that might catch this kind of thing. He's posted his
> scripts to lkml in the past, try looking in the archives.
Responding to an old post here.
I have only recently integrated Ram's patches except for the kbuild
integration bits. On top of this Andreas' license compatibility thing so
in effect:
building a GPL module (or compatible) => no change
building a GPL-incompatible module =>
warn if module uses EXPORT_SYMBOL_GPL_FUTURE
error out if module uses EXPORT_SYMBOL_GPL
Patches are in kbuild.git.
The script to show module export statistics is not yet merged, I've
asked Ram to fix a few things first.
Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/