Message ID | 20240213230544.930018-3-glusvardi@posteo.net |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-64508-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp859914dyb; Tue, 13 Feb 2024 15:08:33 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXyJ1lEKG0mBUzxTo7oq0ygG1gRroTGDBl9dScNaKDdyqbcQRTIpsajfJdhj53ENWxg+x57JoolbiRRV0aIylS4AVPcRg== X-Google-Smtp-Source: AGHT+IG781JWbuP1zjnxrHHL3ARJShGrGJDLY+hMfP4TSG/J10hRTO0BS+mPrG/2MmffxFJJq21M X-Received: by 2002:a05:620a:4492:b0:787:2768:edf4 with SMTP id x18-20020a05620a449200b007872768edf4mr1301478qkp.57.1707865712920; Tue, 13 Feb 2024 15:08:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707865712; cv=pass; d=google.com; s=arc-20160816; b=YxVuu/R2/AwPhqyuQNk8Sisw8K26hv4qvNHpW7t6bLDTHtBNWLmhqHPIxEUsaOlrl4 du1LMxJG7KUV5X5HHU3BjEYf1PC6j0o2Qct4yXMrSQdN/Vlt/azfTvU70cKc4Qm4D03K 6UirbBmYE2BrSV80Hcp+7ihzXiXgDX7/C4Y6p2xWXmFUAhTR+o5RpFPF1K2OokUL8kvF SBIClk5th00zvP3idlEP4flMxTsnQm5NDTEgRAKQg0Ry45LoWxk/rVySn/h/pysW127H kvqjmscwdm8uepC4N+X5WOZo2JXZ6a4LodijU4Lrl8Bq+UBmE9yCdf46eTSk5kOQ2E+z mC2g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=ISdiNbSuJRVXkUlQFuKD3WEODdnaxhbfBr+c24LYohI=; fh=is7qKybZ71rCwRgC6Z5+P8/XKTJjEqUtDO6uakI3L5o=; b=ZpbQXbC4PmJfFQ6jmHm6zgtlZflSxP4IDRSOC5hbUxd0TwnKBsWWRhwodXbJz09kZw /lJeAbypUCj+jp3ef+xL7X89zNO9IxUBzpGUsT+fAV748ns40gAdn9b5ZZjgFT59aFfB SFxKXdH+3qLvQQXv7YBrNoJ2e6LIJXkJOV2K3TW/l4MIBUldl1zNc/duPrDRPyEWwcY1 aQKR8uJnPhqGguVarkxcB4r3bXgjS2My376kfg0bNWFnalkLdMHcjO9wUHZPfObEDrFt Dwp8JCzTKGOh7QgmI+VE2cENBC4uot1IpnX3pvEi8umU566eF7ydF+eNJwCNffMIFFCT JWsA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=JowB9Xcc; arc=pass (i=1 spf=pass spfdomain=posteo.net dkim=pass dkdomain=posteo.net dmarc=pass fromdomain=posteo.net); spf=pass (google.com: domain of linux-kernel+bounces-64508-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64508-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net X-Forwarded-Encrypted: i=2; AJvYcCUvX/CFW/Ou74nYZDH6Pqp2/5m7Ewoo4u5KlYDfz8cCPxFRzlGuZzQEP4xI+QlfdUlWCUDIyrdwexR/PH2d3ZRtIlHtVw== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id g18-20020a05620a219200b00785c9b769e9si5856642qka.33.2024.02.13.15.08.32 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 15:08:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-64508-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=JowB9Xcc; arc=pass (i=1 spf=pass spfdomain=posteo.net dkim=pass dkdomain=posteo.net dmarc=pass fromdomain=posteo.net); spf=pass (google.com: domain of linux-kernel+bounces-64508-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64508-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 88D7F1C27CFE for <ouuuleilei@gmail.com>; Tue, 13 Feb 2024 23:08:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AF4786350C; Tue, 13 Feb 2024 23:07:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=posteo.net header.i=@posteo.net header.b="JowB9Xcc" Received: from mout02.posteo.de (mout02.posteo.de [185.67.36.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DA0CA62A08 for <linux-kernel@vger.kernel.org>; Tue, 13 Feb 2024 23:07:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.67.36.66 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707865639; cv=none; b=jFn13APSTGtRW0IdWluTnMwidbGZq4b7sqBMUEYiKExaY79zdask/mI3uiTk13IYCzoBxfWwec9zeLuhP9xgQVmAOiXB8QpASnJ9+8Eq4nv0U34ni0CXQ1dHZ9wxhTsT2aY9YSDhpeXei1GOf3BlvsiPkhP6K+Y+HSf8VtwesJg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707865639; c=relaxed/simple; bh=IlOcdAFyrGcBZwjqGuF72RmOCiW8ydDgssaTemzVqmM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=iAP0U0Quen4KZfEeYX+QVfLVkuJiAgGFSPJAj1w8EAQgHsOXHgQeP+YQ67puym17B5q+8RHJ+nvvMhyzZo+FGUN6eEX/alWd1eiR1n1rcgtPxZhp8DX2N/+3n0vUiL1qnu02lQb4scSzcUeKwLViNTnwgiGz3JeOv4DHgXQhK7k= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=posteo.net; spf=pass smtp.mailfrom=posteo.net; dkim=pass (2048-bit key) header.d=posteo.net header.i=@posteo.net header.b=JowB9Xcc; arc=none smtp.client-ip=185.67.36.66 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=posteo.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=posteo.net Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id B3FFC240105 for <linux-kernel@vger.kernel.org>; Wed, 14 Feb 2024 00:07:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1707865627; bh=IlOcdAFyrGcBZwjqGuF72RmOCiW8ydDgssaTemzVqmM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=JowB9Xcc5U4uBk9P8LK8XnTzPTBPoqKdwuOCs5M50eCXs32ntNmtYBuOowMZyLAV6 xGKZrJynU16V3g5XfaZqsac9zOXeVbm01DnYG6QuvPQap+B1l4d5RPHoetLor6/Cge 8TPE+Xi2y5EFJAqvHa5bnRBEIpGzYcTiu5xoqdM8LoeYriBlyaSdqvfw7AJAXvC+kY 8S0DK/LJbAXh16SzQk1YjVdgKUjD1nnWIU73rEmBUzaTFzUbLvfYg08/Y/bfmww6yG /5KtXbBVef6wyHrqG9bmiERrS9ejBVpK0WaJwwA8I5JSRbQqJ8QyVuBkpI6yv0MOLU R0VZB80gH0rfw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TZH5j1FN4z9rxG; Wed, 14 Feb 2024 00:07:04 +0100 (CET) From: Gianmarco Lusvardi <glusvardi@posteo.net> To: Alexei Starovoitov <ast@kernel.org>, Daniel Borkmann <daniel@iogearbox.net>, Andrii Nakryiko <andrii@kernel.org> Cc: Martin KaFai Lau <martin.lau@linux.dev>, Song Liu <song@kernel.org>, Yonghong Song <yonghong.song@linux.dev>, John Fastabend <john.fastabend@gmail.com>, KP Singh <kpsingh@kernel.org>, Stanislav Fomichev <sdf@google.com>, Hao Luo <haoluo@google.com>, Jiri Olsa <jolsa@kernel.org>, bpf@vger.kernel.org, linux-kernel@vger.kernel.org, Gianmarco Lusvardi <glusvardi@posteo.net> Subject: [PATCH] Corrected GPL license name Date: Tue, 13 Feb 2024 23:05:46 +0000 Message-ID: <20240213230544.930018-3-glusvardi@posteo.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790826997812654048 X-GMAIL-MSGID: 1790826997812654048 |
Series |
Corrected GPL license name
|
|
Commit Message
Gianmarco Lusvardi
Feb. 13, 2024, 11:05 p.m. UTC
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.
Signed-off-by: Gianmarco Lusvardi <glusvardi@posteo.net>
---
scripts/bpf_doc.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
2024-02-13 23:07 UTC+0000 ~ Gianmarco Lusvardi <glusvardi@posteo.net> > 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. > > Signed-off-by: Gianmarco Lusvardi <glusvardi@posteo.net> > --- > scripts/bpf_doc.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/scripts/bpf_doc.py b/scripts/bpf_doc.py > index 61b7dddedc46..0669bac5e900 100755 > --- a/scripts/bpf_doc.py > +++ b/scripts/bpf_doc.py > @@ -513,7 +513,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 Not sure how I came up with that one. Thanks for the fix! Fixes: 56a092c89505 ("bpf: add script and prepare bpf.h for new helpers documentation") Reviewed-by: Quentin Monnet <quentin@isovalent.com>
Hello: This patch was applied to bpf/bpf.git (master) by Daniel Borkmann <daniel@iogearbox.net>: On Tue, 13 Feb 2024 23:05:46 +0000 you wrote: > 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. > > [...] Here is the summary with links: - Corrected GPL license name https://git.kernel.org/bpf/bpf/c/e37243b65d52 You are awesome, thank you!
diff --git a/scripts/bpf_doc.py b/scripts/bpf_doc.py index 61b7dddedc46..0669bac5e900 100755 --- a/scripts/bpf_doc.py +++ b/scripts/bpf_doc.py @@ -513,7 +513,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