Re: Wrapping EXPORT_SYMBOL_GPL symbols and re-exporting the wrappers with EXPORT_SYMBOL

2013-07-02 Thread Bjørn Mork
richard -rw- weinberger writes: > On Mon, Jul 1, 2013 at 11:38 PM, Borislav Petkov 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 th

Re: Wrapping EXPORT_SYMBOL_GPL symbols and re-exporting the wrappers with EXPORT_SYMBOL

2013-07-02 Thread Borislav Petkov
On Tue, Jul 02, 2013 at 09:57:08AM +0200, richard -rw- weinberger wrote: > Then vendors will do a s/EXPORT_SYMBOL_GPL/EXPORT_SYMBOL/g on the kernel. Huh, "fail building if a module does EXPORT_SYMBOL"... > Recently I've identified such a case. Regardless, there's not really a whole lot we can do

Re: Wrapping EXPORT_SYMBOL_GPL symbols and re-exporting the wrappers with EXPORT_SYMBOL

2013-07-02 Thread richard -rw- weinberger
On Mon, Jul 1, 2013 at 11:38 PM, Borislav Petkov 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. >> >>

Re: Wrapping EXPORT_SYMBOL_GPL symbols and re-exporting the wrappers with EXPORT_SYMBOL

2013-07-01 Thread Borislav Petkov
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 e

Wrapping EXPORT_SYMBOL_GPL symbols and re-exporting the wrappers with EXPORT_SYMBOL

2013-07-01 Thread Bjørn Mork
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 t