Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6445192imu; Wed, 30 Jan 2019 15:03:49 -0800 (PST) X-Google-Smtp-Source: ALg8bN6dSTX5PWpuDLcpuhmrsigtny6kv41JO6YT9LZBNGiSSrdEeIZIr9tT9sBERiIDgdT98oQg X-Received: by 2002:a17:902:9897:: with SMTP id s23mr30995065plp.69.1548889429218; Wed, 30 Jan 2019 15:03:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548889429; cv=none; d=google.com; s=arc-20160816; b=wR225xfuBIt0qrlVpuU4+mBCg6epVoppEoQUaOSsnr3CYCFTubXNYtBm+RVtX/D1bZ +u018ttqYzST3RT6XI5gFOSk07216lHuquafp0uTNZtaY1OWkn7+d+nTVbhrsFzfbgWn rNhJ9GQMc2lfChksaggQivbPG3sxoGHXAcuJimeCYVwpF20xtnrH99P+/cb33Aw32jy5 hPcGt+8BhJv0yvr9iGcuBd5dcROAsjfDw1/CkHLx/dMKVfZUp4QlWxSqYysUkrnOU0JI KiV1TZs3DQgeMZX56hgC0E8kVP56Y18h4+pvpeQJxdoai9N606uw9a8OkHrsb2CDmI2t u7PA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=BdTSc2TCqLgEehZu7zSovyQ57oH/GYHNC/GraArtNXA=; b=u6eTYCoxr6LI8xFKl1Qi/7LfC9CA/zrEXI8GeTcHPJ2Eq0v0HBkZ3ONM8D/xfrqcuI aVfH6K9annEw6kIW6qRH1+oxbrCSstwCg8mBQlGRuwupkHxlxurF70hvRNaKwUmFqMl1 ESrLzXog0OiYfVxE6tBqPP3P2IYcgmB1pg/1RA7xbdssso4VM4QmN8Dpba2tQOEQ+sbU ozvQV2cKUxZdEJmRURhfS6GiLmREk7LbX4tdO73eKJvp8bceJLezbbXiBdmRNhx/c3br uz40c3qHLiXGWh/fVeE4R1pvnF7DjpxruSy7qJtJh8/NRgvFKZJ/ON2ruavVnUMNGkb+ VrAw== 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 d16si2607404pfn.169.2019.01.30.15.03.33; Wed, 30 Jan 2019 15:03:49 -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 S1730860AbfA3XD0 (ORCPT + 99 others); Wed, 30 Jan 2019 18:03:26 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:48382 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727890AbfA3XDW (ORCPT ); Wed, 30 Jan 2019 18:03:22 -0500 Received: from p5492e0d8.dip0.t-ipconnect.de ([84.146.224.216] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1goxu4-0006Z1-1W; Wed, 30 Jan 2019 23:00:16 +0100 Date: Wed, 30 Jan 2019 23:00:15 +0100 (CET) From: Thomas Gleixner To: Alan Cox cc: Rusty Russell , LKML , Linus Torvalds , Greg KH , Jonathan Corbet , Jessica Yu , Alan Cox , Christoph Hellwig , Kate Stewart , Philippe Ombredanne Subject: Re: [PATCH][RFC] module: Cure the MODULE_LICENSE "GPL" vs. "GPL v2" bogosity In-Reply-To: <20190130204544.1b50027d@alans-desktop> Message-ID: References: <875zu620yn.fsf@rustcorp.com.au> <20190130204544.1b50027d@alans-desktop> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 30 Jan 2019, Alan Cox wrote: > On Wed, 30 Jan 2019 15:31:20 +1030 > Rusty Russell wrote: > > > Thanks taking on such a thankless task Thomas, > > > > Might have been overzealous in assuming a verionless GPL string meant > > "or later" (I'm happy for that for my own code, FWIW). My memory is > > fuzzy, but I don't think anyone cared at the time. > > Versionless always meant 'or later' outside of the tags. It's the default > version of the licence. (Whether v2 only has any meaning beyond intent is > another debate that I guess some year a lawyer will have to figure out). > > I think the description change makes sense given the ambiguity and the > fact we now have SPDX headers. (IANAL etc) > > > > 2) The dual licensed strings became ill defined as well because following > > > the "GPL" vs. "GPL v2" distinction all dual licensed (or additional > > The dual ones were IMHO a mistake. They should just have used GPL and > additional rights. Either you have GPL rights (and it's ok to use in the > kernel) or you don't (and it's proprietary and the rest is down to > derivative works). > > We don't actually care whether its dual licensed BSD, or whether it > merely grants you an additional right to cheap pizza. Actually for the purpose of module loading the only relevant information is whether there are GPL rights or not. Whether there are additional rights is irrelevant for the binary blob. That only matters vs. the source code itself. > > > As of 5.0-rc2 2873 out of 9200 instances of MODULE_LICENSE() strings are > > > conflicting with the actual license in the source code (either SPDX or > > > license boilerplate/reference). A comparison between the scan of the > > The SPDX tag isn't correctly capable of expressing the licence anyway. If > you have functions in a file and two of them are GPL v2+ and someone > added a GPLv2 only one and updated the header there isn't a valid SPDX tag > for it because I can still use the GPLv2+ bits with GPLv3. > > This is nothing new - the headers on the files provided no more data on > that and took up lots more space 8) We've simply never tracked licence > data by line. Correct, there are files which have both a v2 only and a v2 or later boilerplate and there is no way to figure out what that actually means for the affected source file. I found a recent patch adding the v2 or later boilerplate right next to the v2 only and the patch content is mostly fiddling with the existing code. Most people simply do not care and I'd say most do not understand what licensing means in the first place. But at the same time a lot of people do not care at all what they are doing. Thanks, tglx