mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Martin Steigerwald <Martin.Steigerwald@proact.de>,
	Domenico Andreoli <cavok@debian.org>
Cc: Kristian Fiskerstrand <k_f@gentoo.org>,
	Ben Finney <bignose@debian.org>,
	Nadia Yvette Chambers <nyc@holomorphy.com>,
	Arnaldo Carvalho de Melo <acme@redhat.com>,
	"919356@bugs.debian.org" <919356@bugs.debian.org>,
	"debian-legal@lists.debian.org" <debian-legal@lists.debian.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Jens Axboe <jens.axboe@oracle.com>
Subject: Re: Licensing of include/linux/hash.h
Date: Mon, 11 Feb 2019 15:55:22 -0700	[thread overview]
Message-ID: <2f9f7dd8-3d47-d463-6322-c6d9865cd545@kernel.dk> (raw)
In-Reply-To: <2977287.v5rPGuGa1n@merkaba>

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* <tel:+49%20911%2030999%200>	 • 
> 	Fax: *+49 911 30999 99* <tel:>
> 
> Südwestpark 43	 • 
> 	90449 	Nürnberg	 • 
> 	Germany
> 
> *Martin.Steigerwald@proact.de* <mailto:Martin.Steigerwald@proact.de>	 • 
> 	*www.proact.de* <https://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 <bignose@debian.org> writes:
>> > >> Domenico Andreoli <cavok@debian.org> 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


  parent reply	other threads:[~2019-02-11 22:55 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-15 17:00 Domenico Andreoli
2019-01-23  8:50 ` Domenico Andreoli
2019-02-10 23:08   ` Kristian Fiskerstrand
2019-02-11  7:22     ` Domenico Andreoli
2019-02-11 12:43       ` Ulrich Mueller
2019-02-11 14:51         ` Ulrich Mueller
     [not found]       ` <2977287.v5rPGuGa1n@merkaba>
2019-02-11 22:55         ` Jens Axboe [this message]
2019-02-12  6:26         ` Bug#919356: " Ben Finney
2019-02-12  6:27         ` Ben Finney
2019-02-12  6:27         ` Ben Finney
2019-02-12 16:16           ` Jens Axboe
2019-02-12 17:16             ` [PATCH] Add the SPDX header to include/linux/hash.h Domenico Andreoli
2019-02-12 20:34             ` Bug#919356: Licensing of include/linux/hash.h Martin Steigerwald
2019-02-12 22:08             ` Ben Finney
2019-02-12 20:36           ` Martin Steigerwald

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2f9f7dd8-3d47-d463-6322-c6d9865cd545@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=919356@bugs.debian.org \
    --cc=Martin.Steigerwald@proact.de \
    --cc=acme@redhat.com \
    --cc=bignose@debian.org \
    --cc=cavok@debian.org \
    --cc=debian-legal@lists.debian.org \
    --cc=jens.axboe@oracle.com \
    --cc=k_f@gentoo.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nyc@holomorphy.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®