Re: EXPORT_SYMBOL_GPL with GPLv3

From: Werner Sembach
Date: Tue Nov 12 2024 - 03:34:50 EST


Hi,

Am 12.11.24 um 06:00 schrieb Christoph Hellwig:
On Mon, Nov 11, 2024 at 07:40:25PM +0100, Werner Sembach wrote:
Hi,

asking at the source: Can EXPORT_SYMBOL_GPL-exports be used with out of tree
GPLv3 licensed modules?
No. The kernel as whole is licencsed as GPLv2, not GPLv2+.

Yes, but the documentation for EXPORT_SYMBOL_GPL only talks about "GPL-compatible" and external linking for EXPORT_SYMBOL-exports is even legal with proprietary code. So to my understanding, it comes down to what EXPORT_SYMBOL_GPL means and not what's the license of the code behind it is.

Kind Regards,

Werner Sembach