BPF List
 help / color / mirror / Atom feed
From: Martin Kelly <martin.kelly@crowdstrike.com>
To: <bpf@vger.kernel.org>
Cc: <linux-doc@vger.kernel.org>, Alexei Starovoitov <ast@kernel.org>,
	Daniel Borkmann <daniel@iogearbox.net>,
	Andrii Nakryiko <andrii@kernel.org>,
	Jonathan Corbet <corbet@lwn.net>,
	Martin Kelly <martin.kelly@crowdstrike.com>
Subject: [PATCH bpf-next] bpf: clarify libbpf skeleton header licensing
Date: Mon, 15 Apr 2024 16:06:12 -0700	[thread overview]
Message-ID: <20240415230612.658798-1-martin.kelly@crowdstrike.com> (raw)

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/54d3cb9669644995b6ae787b4d532b73@crowdstrike.com/#r

Signed-off-by: Martin Kelly <martin.kelly@crowdstrike.com>
---
 Documentation/bpf/bpf_licensing.rst | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Documentation/bpf/bpf_licensing.rst b/Documentation/bpf/bpf_licensing.rst
index b19c433f41d2..05bc1b845e64 100644
--- a/Documentation/bpf/bpf_licensing.rst
+++ b/Documentation/bpf/bpf_licensing.rst
@@ -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.
-- 
2.34.1


             reply	other threads:[~2024-04-15 23:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-15 23:06 Martin Kelly [this message]
2024-04-15 23:16 ` [PATCH bpf-next] bpf: clarify libbpf skeleton header licensing Alexei Starovoitov
2024-04-16 18:39   ` Martin Kelly

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240415230612.658798-1-martin.kelly@crowdstrike.com \
    --to=martin.kelly@crowdstrike.com \
    --cc=andrii@kernel.org \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=corbet@lwn.net \
    --cc=daniel@iogearbox.net \
    --cc=linux-doc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox