Re: GPL-only symbols issue
From: Ram Pai
Date: Tue May 09 2006 - 01:57:38 EST
On Mon, 2006-05-08 at 21:25 -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.
The patches are at
http://sudhaa.com/~ram/misc/kernelpatch
The patch of interest for you would be modpost.patch
I have a script and some code that can poke into a given .ko file and
warn against symbols that don't match what the kernel exports.
I can post that code if there is interest in that functionality,
RP
>
> thanks,
> greg k-h
-
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/