summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGianmarco Lusvardi <glusvardi@posteo.net>2024-02-13 23:05:46 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-03-01 13:06:11 +0100
commit40a0959efecdf58842271a6344d3f890f57d038b (patch)
tree18faa3fab1e8893d12d8ed80ccc9394f00e2b2fa
parente30c7a06073ea0da37f7af3c890e6db0528db772 (diff)
downloadlinux-stable-40a0959efecdf58842271a6344d3f890f57d038b.tar.gz
linux-stable-40a0959efecdf58842271a6344d3f890f57d038b.tar.bz2
linux-stable-40a0959efecdf58842271a6344d3f890f57d038b.zip
bpf, scripts: Correct GPL license name
[ Upstream commit e37243b65d528a8a9f8b9a57a43885f8e8dfc15c ] The bpf_doc script refers to the GPL as the "GNU Privacy License". I strongly suspect that the author wanted to refer to the GNU General Public License, under which the Linux kernel is released, as, to the best of my knowledge, there is no license named "GNU Privacy License". This patch corrects the license name in the script accordingly. Fixes: 56a092c89505 ("bpf: add script and prepare bpf.h for new helpers documentation") Signed-off-by: Gianmarco Lusvardi <glusvardi@posteo.net> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Reviewed-by: Quentin Monnet <quentin@isovalent.com> Link: https://lore.kernel.org/bpf/20240213230544.930018-3-glusvardi@posteo.net Signed-off-by: Sasha Levin <sashal@kernel.org>
-rwxr-xr-xscripts/bpf_helpers_doc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/bpf_helpers_doc.py b/scripts/bpf_helpers_doc.py
index dcddacc25dff..cf0ee47bcbee 100755
--- a/scripts/bpf_helpers_doc.py
+++ b/scripts/bpf_helpers_doc.py
@@ -286,7 +286,7 @@ eBPF programs can have an associated license, passed along with the bytecode
instructions to the kernel when the programs are loaded. The format for that
string is identical to the one in use for kernel modules (Dual licenses, such
as "Dual BSD/GPL", may be used). Some helper functions are only accessible to
-programs that are compatible with the GNU Privacy License (GPL).
+programs that are compatible with the GNU General Public License (GNU GPL).
In order to use such helpers, the eBPF program must be loaded with the correct
license string passed (via **attr**) to the **bpf**\ () system call, and this