bpf: clarify libbpf skeleton header licensing
Subsystems (2)
PATCH 1/1 bpf: clarify libbpf skeleton header licensing
Add an explicit statement clarifying that generated BPF code bundled inside a libbpf skeleton header may have a license distinct from the skeleton header (in other words, the bundled code does not alter the skeleton header license). This is a follow-up from a previous thread discussing licensing terms:
https://lore.kernel.org/bpf/[email protected]/#r
--- Documentation/bpf/bpf_licensing.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
Documentation/bpf/bpf_licensing.rst +5 -1
@@ -89,4 +89,8 @@ Packaging BPF programs with user space applications Generally, proprietary-licensed applications and GPL licensed BPF programs written for the Linux kernel in the same package can co-exist because they are -separate executable processes. This applies to both cBPF and eBPF programs. +separate executable processes. In particular, BPF code bundled inside a libbpf +skeleton header may have a different license than that of its surrounding +skeleton. In other words, the license of the bundled BPF code does not alter the +license of the skeleton header nor of a program including the header. This +paragraph applies to both cBPF and eBPF programs.
Signature · 1 line
2.34.1
Quoted 18 lines · Martin Kelly
Add an explicit statement clarifying that generated BPF code bundled inside a libbpf skeleton header may have a license distinct from the skeleton header (in other words, the bundled code does not alter the skeleton header license). This is a follow-up from a previous thread discussing licensing terms:
https://lore.kernel.org/bpf/[email protected]/#rSigned-off-by Martin Kelly <[email protected]>--- Documentation/bpf/bpf_licensing.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)Documentation/bpf/bpf_licensing.rst +0
-0
Documentation/bpf/bpf_licensing.rst Packaging BPF programs with user space applications · line 96
Quoted 9 lines
Documentation/bpf/bpf_licensing.rst +5
-1@@ -89,4 +89,8 @@ Packaging BPF programs with user space applications Generally, proprietary-licensed applications and GPL licensed BPF programs written for the Linux kernel in the same package can co-exist because they are -separate executable processes. This applies to both cBPF and eBPF programs. +separate executable processes. In particular, BPF code bundled inside a libbpf +skeleton header may have a different license than that of its surrounding +skeleton. In other words, the license of the bundled BPF code does not alter the +license of the skeleton header nor of a program including the header. This +paragraph applies to both cBPF and eBPF programs.
The doc is clear enough. This is unnecessary.
Otherwise we'll start listing every project that bundles bpf prog in some form.
Quoted 3 lines · Alexei Starovoitov
The doc is clear enough. This is unnecessary.
Otherwise we'll start listing every project that bundles bpf prog in some form.
I figured that with licensing, being explicit never hurts, but I take your point and am happy to drop the patch.