* EXPORT_SYMBOL_GPL with GPLv3
@ 2024-11-11 18:40 Werner Sembach
2024-11-12 5:00 ` Christoph Hellwig
0 siblings, 1 reply; 4+ messages in thread
From: Werner Sembach @ 2024-11-11 18:40 UTC (permalink / raw)
To: linux-kernel@vger.kernel.org; +Cc: Christoffer Sandberg
Hi,
asking at the source: Can EXPORT_SYMBOL_GPL-exports be used with out of tree
GPLv3 licensed modules?
- EXPORT_SYMBOL_GPL is documented here
https://www.kernel.org/doc/html/latest/kernel-hacking/hacking.html#export-symbol-gpl
but this only mentions "GPL" without specifying v2 or v3
- This LWN article only talking about "GPL-compatible" with no version given and
that was written before the v3 was released: https://lwn.net/Articles/154602/
- This docs page
https://www.kernel.org/doc/html/latest/process/license-rules.html#id1 defining
MODULE_LICENSE(“GPL”) as GPL v2, but does not define MODULE_LICENSE(“GPL v3”)
nor what is and isn't allowed with it
Kind regards,
Werner Sembach
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: EXPORT_SYMBOL_GPL with GPLv3
2024-11-11 18:40 EXPORT_SYMBOL_GPL with GPLv3 Werner Sembach
@ 2024-11-12 5:00 ` Christoph Hellwig
2024-11-12 8:34 ` Werner Sembach
0 siblings, 1 reply; 4+ messages in thread
From: Christoph Hellwig @ 2024-11-12 5:00 UTC (permalink / raw)
To: Werner Sembach; +Cc: linux-kernel@vger.kernel.org, Christoffer Sandberg
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+.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: EXPORT_SYMBOL_GPL with GPLv3
2024-11-12 5:00 ` Christoph Hellwig
@ 2024-11-12 8:34 ` Werner Sembach
2024-11-15 10:44 ` Uwe Kleine-König
0 siblings, 1 reply; 4+ messages in thread
From: Werner Sembach @ 2024-11-12 8:34 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: linux-kernel@vger.kernel.org, Christoffer Sandberg
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: EXPORT_SYMBOL_GPL with GPLv3
2024-11-12 8:34 ` Werner Sembach
@ 2024-11-15 10:44 ` Uwe Kleine-König
0 siblings, 0 replies; 4+ messages in thread
From: Uwe Kleine-König @ 2024-11-15 10:44 UTC (permalink / raw)
To: Werner Sembach
Cc: Christoph Hellwig, linux-kernel@vger.kernel.org,
Christoffer Sandberg
[-- Attachment #1: Type: text/plain, Size: 1389 bytes --]
Hello Werner,
On Tue, Nov 12, 2024 at 09:34:29AM +0100, Werner Sembach wrote:
> 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.
AFAIK there is no agreement about the legality of proprietary code using
symbols published with EXPORT_SYMBOL. EXPORT_SYMBOL_GPL was created with
the intend to at least have a way to express a symbol to be used by
GPL(v2) code only.
So the safe assumption about EXPORT_SYMBOL functions and variables is
only: "The copyright holder did not expressively prohibit proprietary
callers. This might be because they are ok with proprietary callers,
but maybe they just didn't consider it necessary to share their
opinion.".
> 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.
Here my approach to clearify the meaning:
https://lore.kernel.org/linux-kernel/20241115103842.585207-2-ukleinek@kernel.org
Best regards
Uwe
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-11-15 10:44 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-11 18:40 EXPORT_SYMBOL_GPL with GPLv3 Werner Sembach
2024-11-12 5:00 ` Christoph Hellwig
2024-11-12 8:34 ` Werner Sembach
2024-11-15 10:44 ` Uwe Kleine-König
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.