Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp3146689imj; Mon, 11 Feb 2019 14:57:07 -0800 (PST) X-Google-Smtp-Source: AHgI3IbYYUm+fYvE/pgFgjKAeFOfoIIPmrQyu9onEwrqlxU0UNUA74mBqPE55I1RuesF4KVqAVxE X-Received: by 2002:a63:fa10:: with SMTP id y16mr636313pgh.88.1549925826903; Mon, 11 Feb 2019 14:57:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549925826; cv=none; d=google.com; s=arc-20160816; b=NhZyhaiFmQh3OcIi/W2u1uHs9+mcuPWtLT368hs9WIx/doluk/iJNRZWZgFb+II9/8 Q6I/X2S6vz4SILBchq+TZShl7kVuB2DCPkWN5Tzp0QMUOR8N3ByucTWCFlrYBkK/qL0j OVQ26Cx7dcdvWzO0qdPjPsNn2l5cTiNr34OWjEGRW7Bc9NzdNzfLUEMIxPtiWrttSUf+ Ej45QS+0zreU7riht3VqvxjKGbU+zOfoAG4Up3kKhDWMU9ix8DCgSLpw/WKO2wHn3+oG jUbVWuJrMoutuf/emTPeWVY5iEBQTgzYCEb01/7S/hQ4pdrRVcpwCIs7PlfVlJzlddBy xq5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=KplfF3dDiknyhJPmcD3zP3gUkdi4lGnQlqW+Zff5OnA=; b=dkBhqv7WRTLfGbXYDd+3Q9by9q/2MtVC6EveiEPu8dO1qmHmvZX/C9AAaWsPNgzx6T 7W/opJ9VvLjzt155rY8GGZdbPixcbq9XREyi3l4Nk5X+KI+FqwoLq35XCfU8aJkNwrvK RTMtvx33B8t3p8z3xa0cATb7EIRVTUPkfsB6Y8sQxKGDZGmfpvYnKUtoh0NZuyPLmab0 bXfbb95L1nXzNEK8aUkJVTbLLxiZ2n9qdviN4ieQ3JujJbQb/Bxb0WGNxXBlol5uNPMl 5E886ay0c6z6xzK9rrcZ95nsoRzK4+I3MvRVyB7PxJ0D50oh4kptOfKhDwTy1lDa5m/W 0xPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=njol1YSa; 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 bf4si11024241plb.163.2019.02.11.14.56.51; Mon, 11 Feb 2019 14:57:06 -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; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=njol1YSa; 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 S1727740AbfBKWz1 (ORCPT + 99 others); Mon, 11 Feb 2019 17:55:27 -0500 Received: from mail-pf1-f193.google.com ([209.85.210.193]:37067 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727284AbfBKWz0 (ORCPT ); Mon, 11 Feb 2019 17:55:26 -0500 Received: by mail-pf1-f193.google.com with SMTP id y126so272991pfb.4 for ; Mon, 11 Feb 2019 14:55:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=KplfF3dDiknyhJPmcD3zP3gUkdi4lGnQlqW+Zff5OnA=; b=njol1YSaCg8wfOs75W7wPbCb3jEPLGS3D8vWlx34SiRyCjz54bf82P36X09M2ZhvhP Xm61hmolJCYs2P5/wNIiixmbOBA2pxDD4UaXyj3LEM+JtBAo+XgCzidbnTQAWwXHvCbA R1bYmhwOh1yR7rQsvLB2DOLpfI3bHf6Cc4l7O26KDF8sX+q9QhX8ocgpyWGDBZKyXqme 7ev7W514jcnQOzIaM1Rgm2QgI+VBHMHUPb29ukKFQ6TSwzOBGBcX/+T+XZZrFiszYZWO mk7rrriZCdskYv8yLjD5LWKIVQrOvNah3MvEZKx+R+xKiTAzZq2Uni87oI4itAVgRcVt m1VQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=KplfF3dDiknyhJPmcD3zP3gUkdi4lGnQlqW+Zff5OnA=; b=WwTxGp+vCExt+AdKwyYe4qsmv3vzRYtCjuw2ZTxXm4jhFxPfpUo/1QARn7DGDJqm7W YN1W9EpWcWWY8RHptiuSTv08/CCC/+p0qIQNlJ1M84ODN1EB6/vaN9t2Xl0fg+BUzS7b 3L+7lHc5gf0uu9a45fTmsHAnnH66HUmLZCprqJHevSVp7d1kfZ6DKyBZYouppU+AF+EX wSxGDLrYMv/Awz5VSTMASzCy5aMiULmGH0J+EQWIjjn0bimKuhXeDMZO+6FBm+svL3Uf wbPLPhqhz0K4yws4gFgI5fZFtT3n8p+wmxxzFqq0F5gAUqUASu7rnqBZodEX4eaydQbi dZ+w== X-Gm-Message-State: AHQUAuYnehpiIKunDNE0qGAvxjJZTtZCrV/je+U+2JaRPF5wmRrHLbuH UD+wN2Pbpqg+dnVu5+uQGPvGdgEBMhuDnA== X-Received: by 2002:a65:62da:: with SMTP id m26mr622452pgv.278.1549925725283; Mon, 11 Feb 2019 14:55:25 -0800 (PST) Received: from [192.168.1.121] (66.29.188.166.static.utbb.net. [66.29.188.166]) by smtp.gmail.com with ESMTPSA id n10sm18198901pfj.14.2019.02.11.14.55.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Feb 2019 14:55:24 -0800 (PST) Subject: Re: Licensing of include/linux/hash.h To: Martin Steigerwald , Domenico Andreoli Cc: Kristian Fiskerstrand , Ben Finney , Nadia Yvette Chambers , Arnaldo Carvalho de Melo , "919356@bugs.debian.org" <919356@bugs.debian.org>, "debian-legal@lists.debian.org" , "linux-kernel@vger.kernel.org" , Jens Axboe References: <20190115170017.5gxarqxzfezgr5ld@dumbo> <20190211072259.GA19224@nouveau> <2977287.v5rPGuGa1n@merkaba> From: Jens Axboe Message-ID: <2f9f7dd8-3d47-d463-6322-c6d9865cd545@kernel.dk> Date: Mon, 11 Feb 2019 15:55:22 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <2977287.v5rPGuGa1n@merkaba> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/11/19 3:50 AM, Martin Steigerwald wrote: > Adding in axboe@kernel.dk, as I am not sure whether the oracle.com address > from Jens is actually valid / up to date. > > Domenico Andreoli - 11.02.19, 08:22: >> On Mon, Feb 11, 2019 at 12:08:32AM +0100, Kristian Fiskerstrand wrote: >> > > Mit freundlichen Grüßen / With kind regards​ > > Martin Steigerwald  •  > Proact Deutschland GmbH > > Trainer > > Telefon: *+49 911 30999 0*  •  > Fax: *+49 911 30999 99* > > Südwestpark 43  •  > 90449  Nürnberg  •  > Germany > > *Martin.Steigerwald@proact.de*  •  > *www.proact.de* > >   > Amtsgericht Nürnberg >  •  > HRB 18320 > > Geschäftsführer:  > Oliver Kügow  •  > Richard Müller  •  > Jakob Høholdt >  •  > Peter Mikael Javestad > >   > – Delivering Business Agility – > >   > > On 1/23/19 9:50 AM, Domenico Andreoli wrote: >> > > Ben Finney writes: >> > >> Domenico Andreoli writes: >> [...] >> >> > >>> the only knot left is now the license of hash.h >> > >>> >> > >>> This file is also present in the kernel [0] with an updated copyright >> > >>> but still without license. >> >> [...] >> >> > >> To know that work (that file) is free software, we need a clear grant >> > >> of >> > >> some specific license, for that work. >> > >> >> > >> If the work is not free, it would be incorrect to have the work in >> > >> Debian. >> > > >> > > Is it possible that for the kernel it is instead correct because it is, >> > > as whole, covered by its COPYING? >> > > >> > >> Alternatives, for complying with the Debian Free Software Guidelines >> > >> with >> > >> this package, include: >> > >> >> > >> * Find a credible grant of license under some GPL-compatible free >> > >> >> > >> license to that exact file. Document that explicit grant in the >> > >> Debian >> > >> package. This demonstrates the work is DFSG-free. >> > >> >> > >> * Convince ???dwarves-dfsg??? upstream to replace that file with a >> > >> different> >> >> > >> implementation (I don't know whether such an implementation exists) >> > >> under a license compatible with the same version of GNU GPL. Document >> > >> that explicit grant in the Debian package. This demonstrates the >> > >> modified work is DFSG-free. >> > >> >> > >> * Replace that file in Debian only, with a different implementation as >> > >> >> > >> above. Document that explicit grant in the Debian package. This >> > >> demonstrates the modified Debian package is DFSG-free. >> > >> >> > >> * Move the work to the ???non-free??? area. >> > >> >> > >> * Remove the work altogether. >> > >> >> > >> Those are in descending order of (my recommended) preference. >> >> [...] >> >> > It was [pointed out] by one of our license group that [hash.h] is the >> > same that has a GPL-2+ in [fio] which has a signed-off-by. >> > >> > References: >> > [pointed out] >> > https://bugs.gentoo.org/677586#c1 >> > >> > [hash.h] >> > https://git.kernel.org/pub/scm/linux/kernel/git/axboe/fio.git/commit/hash. >> > h?id=bdc7211e190482f0c17c109a0d90834a6611be1c >> Yes, the Signed-off-by is from Jens Axboe (in CC) but he's not the >> original author, I guess he just copied the file as Arnaldo did. The >> file he committed has not any reference to the license. >> >> > [fio] >> > https://metadata.ftp-master.debian.org/changelogs/main/f/fio/fio_3.12-2_co >> > pyright >> I'm afraid that this entry in wrong. I'll seek confirmation with Martin >> Steigerwald. > > Which entry to you refer to? I assume the one about hash.h. > > Well the file has in its header: > > /* Fast hashing routine for a long. > (C) 2002 William Lee Irwin III, IBM */ > > /* > * Knuth recommends primes in approximately golden ratio to the maximum > * integer representable by a machine word for multiplicative hashing. > * Chuck Lever verified the effectiveness of this technique: > * http://www.citi.umich.edu/techreports/reports/citi-tr-00-1.pdf > * > * These primes are chosen to be bit-sparse, that is operations on > * them can use shifts and additions instead of multiplications for > * machines where multiplications are slow. > */ > > It has been quite a while ago. I bet back then I did not regard this as > license information since it does not specify a license. Thus I assumed it to > be GPL-2 as the other files which have no license boiler plate. I.e.: Check file > is it has different license, if not, then assume it has license as specified in > COPYING. > > Not specifying a license can however also mean in this context that it has no > license as the file contains copyright information from another author. > > Of course I can update copyright file in case my conclusion from a long time > ago was wrong. > > Jens? Right, if nothing else is noted, it's GPL v2. -- Jens Axboe