Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2484918imu; Thu, 17 Jan 2019 15:19:17 -0800 (PST) X-Google-Smtp-Source: ALg8bN4RmOMffie7zMDyCWGAvNUueAX8g56SV5MS4BftJJzOjIK0mUmsvVRGgX4rPKHUx3uolRXn X-Received: by 2002:a62:fc8a:: with SMTP id e132mr16685489pfh.176.1547767157578; Thu, 17 Jan 2019 15:19:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547767157; cv=none; d=google.com; s=arc-20160816; b=V53C9x8x6FHDXYkhntESq4G8bJhc9oWJ4DzzMbluvxYjGn/ViD9+hpF8YQSzs4vpk3 tOQnk37kcaQZSBBXnhpX71MWcDyrKkx7v5DUDOKegoOXDDpdX98t2bVNGOfUA1t0EMlg sPkodMJrD+E5LjQ7VL5x/t/8/FdChfwYwB+wvCv66ztdhcLTc2UA4DF+oysfcvvZLk5+ yUiM2XjGrqa6VjjXeNv2ZUTYCn64z8m51gNVHDqtT6K2A49VTFlRnJjc3CgnOduFtR5C ZHmEBNLxHyNKwRyd/5k9O68go7D1D7opj96NAYswwF1Gm3Y84YTnIpwrMjGzeOwXDqmw M/jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:subject:cc:to :from:date:user-agent:message-id; bh=Recn7Q119e1xUYdDxHcpr9ugAmSdox6FkotPHvjP3IM=; b=GtG158rxEl4fPtZ6/w1C5iVE048msFnp25s23GLDh6Vkbl4sNzRV4IYxyg/mzSnIAw bloxqanfq6F41YEP6R05E6kc3QcO3JBNlo3Ud/+56K+bbDy7mU3870Yk+doWM1cTHG0t TMXveFgJsJVUGBZuc6TCie3OrqDPLzltTowpJqb4Mr4LvBQMiSQKCxCuISKCHwEzHQ9t hYQYwJOnUuYNFoiwi3cQlYXc538Ba6cX7P8Ot3fHV0/BuS6CL4ppdT/BVPt2Llz67V0G aW850GvdwvOqd9RjH3J2Q8+zPUmRMbwl+QyR5b4CSMWLEu50rqrvcVKHAwhlqyH0lpMf jJAA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y8si2813708pfn.26.2019.01.17.15.19.02; Thu, 17 Jan 2019 15:19:17 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727457AbfAQXQE (ORCPT + 99 others); Thu, 17 Jan 2019 18:16:04 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:48048 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727183AbfAQXQB (ORCPT ); Thu, 17 Jan 2019 18:16:01 -0500 Received: from localhost ([127.0.0.1] helo=nanos.tec.linutronix.de) by Galois.linutronix.de with esmtp (Exim 4.80) (envelope-from ) id 1gkGse-0000yc-BJ; Fri, 18 Jan 2019 00:15:24 +0100 Message-Id: <20190117231501.560475279@linutronix.de> User-Agent: quilt/0.65 Date: Fri, 18 Jan 2019 00:14:24 +0100 From: Thomas Gleixner To: LKML Cc: Greg Kroah-Hartman , Kate Stewart , Jonathan Corbet , Jakub Kicinski , Roman Gushchin , YueHaibing , Yonghong Song , Stanislav Fomichev , Sean Young , Jiri Benc , David Calavera , Andrey Ignatov , Joe Stringer , David Ahern , Alexei Starovoitov , Petar Penkov , Sandipan Das , Prashant Bhole , Stephen Hemminger , John Fastabend , Taeung Song , Jiri Olsa , Alexei Starovoitov , Daniel Borkmann , Quentin Monnet , okash.khawaja@gmail.com, netdev@vger.kernel.org Subject: [patch 8/9] tools: bpftool: Cleanup license mess References: <20190117231416.111952141@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Precise and non-ambiguous license information is important. The recent relicensing of the bpftools introduced a license conflict. The files have now: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause and * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version * 2 of the License, or (at your option) any later version Amazingly about 20 people acked that change and neither they nor the committer noticed. Oh well. Digging deeper: The files were imported from the iproute2 repository with the GPL V2 or later boiler plate text in commit b66e907cfee2 ("tools: bpftool: copy JSON writer from iproute2 repository") Looking at the iproute2 repository at git://git.kernel.org/pub/scm/network/iproute2/iproute2.git the following commit is the equivivalent: commit d9d8c839 ("json_writer: add SPDX Identifier (GPL-2/BSD-2)") That commit explicitly removes the boiler plate and relicenses the code uner GPL-2.0-only and BSD-2-Clause. As Steven wrote the original code and also the relicensing commit, it's assumed that the relicensing was intended to do exaclty that. Just the kernel side update failed to remove the boiler plate. Do so now. Fixes: 907b22365115 ("tools: bpftool: dual license all files") Signed-off-by: Thomas Gleixner Cc: Jakub Kicinski Cc: Roman Gushchin Cc: YueHaibing Cc: Yonghong Song Cc: Stanislav Fomichev Cc: Sean Young Cc: Jiri Benc Cc: David Calavera Cc: Andrey Ignatov Cc: Joe Stringer Cc: David Ahern Cc: Alexei Starovoitov Cc: Petar Penkov Cc: Sandipan Das Cc: Prashant Bhole Cc: Stephen Hemminger Cc: John Fastabend Cc: Taeung Song Cc: Jiri Olsa Cc: Alexei Starovoitov Cc: Daniel Borkmann Cc: Quentin Monnet CC: okash.khawaja@gmail.com Cc: netdev@vger.kernel.org --- P.S.: This patch is part of a larger cleanup, but independent of other patches and is intended to be picked up by the maintainer directly. --- tools/bpf/bpftool/json_writer.c | 7 +------ tools/bpf/bpftool/json_writer.h | 5 ----- 2 files changed, 1 insertion(+), 11 deletions(-) --- a/tools/bpf/bpftool/json_writer.c +++ b/tools/bpf/bpftool/json_writer.c @@ -1,15 +1,10 @@ -// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) /* * Simple streaming JSON writer * * This takes care of the annoying bits of JSON syntax like the commas * after elements * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. - * * Authors: Stephen Hemminger */ --- a/tools/bpf/bpftool/json_writer.h +++ b/tools/bpf/bpftool/json_writer.h @@ -5,11 +5,6 @@ * This takes care of the annoying bits of JSON syntax like the commas * after elements * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. - * * Authors: Stephen Hemminger */