Re: Wrapping EXPORT_SYMBOL_GPL symbols and re-exporting the wrapperswith EXPORT_SYMBOL

From: richard -rw- weinberger
Date: Tue Jul 02 2013 - 04:03:47 EST


On Mon, Jul 1, 2013 at 11:38 PM, Borislav Petkov <bp@xxxxxxxxx> wrote:
> On Mon, Jul 01, 2013 at 03:32:27PM +0200, Bjørn Mork wrote:
>> I just got a new wireless router and stumbled across an odd set of
>> out-of-tree modules, where two GPL licensed modules were used by a third
>> proprietary licensed one.
>>
>> The nice router vendor sent me the GPL'd source code, and as expected
>> the GPL modules are little more than wrappers working around the
>> EXPORT_SYMBOL_GPL restrictions. Here's a complete example of one of
>> them:
>
> I'm wondering if we could fail building modules which do EXPORT_SYMBOL.

Then vendors will do a s/EXPORT_SYMBOL_GPL/EXPORT_SYMBOL/g on the kernel.
Recently I've identified such a case.

Bjørn, please post this on legal@xxxxxxxxxxxxxxxxxxxxxxxx too.

--
Thanks,
//richard
--
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/