Received: by 10.223.164.202 with SMTP id h10csp649192wrb; Fri, 17 Nov 2017 06:32:37 -0800 (PST) X-Google-Smtp-Source: AGs4zMawPbLok7p8e3FL2GDA1roMP5JnsyakDmzcrjzP5PuEOPFFpnlPwy3S8iTkziISR1OWxdfx X-Received: by 10.98.209.8 with SMTP id z8mr2256592pfg.184.1510929157474; Fri, 17 Nov 2017 06:32:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510929157; cv=none; d=google.com; s=arc-20160816; b=0jW6YuubljOYIItaFmwvXka9ASMomDEkjll9W+nrGTtFRzw6dKJ3tAKrP2ahIdL2rH RjXNMrr6aABe66y6tiuG3F15qh0ACzwKnMtJe5SsADQ94C1fYKc9nCDPuQnhh3hdG//s ZYbMc3CepmPkbQkZv/Ox1Z0hKgPE2jGMavdYTbxqpGccXJppDxQyu78Dy4ZMTXAhmSeP Mc7C1oMwN1/ING1T2eSMlP4zvHNIkNUjiXq510690wa7HYuNT5R5akMp5XVKF9cmPQiz +HOln1tHQXhbbtOmhzQ0p7iub7RKM5VXUQ1NQgBFJR2yM/hFkKzX1w4Z5/8kZ2ZbnkTF IqZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=/o55atYA6VwixWTa0a1DftXA3sueMrbbtYQ5Gz/I5DQ=; b=IurX6nIi7K7goHTxx6byqb2WjVPEwtZJu/zVKliI/xDqsN+3uOzuNk1bsX5+pGzG4b aAyGBD6wANrq4Y1UE9yrdgvvYUJvoNM/mhpClkSJI2xOnHDKtnuVG3x46+10oClNun0u pLqdmQrK6zV+Gk4AALnyYZKX85uOKon2yc+5dKSS/MjoMITn1/z4CkGZiWsuksOA1uTy 0ERu9LhNz0kogyyejR5SOyEdjHQSvjclBQ3uTsX2QLyHoX+WuNYdpT9zb149iXkzGzHh V0AFIuvubp4bdTJlFkN54R8Fn6L6Dwy/mNS/A84kM3/wGx/RbQPOxYhlOcP9CbdZqJZb /PMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nexb-com.20150623.gappssmtp.com header.s=20150623 header.b=SvrLGOn0; 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 61si2887674plr.279.2017.11.17.06.32.23; Fri, 17 Nov 2017 06:32:37 -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=@nexb-com.20150623.gappssmtp.com header.s=20150623 header.b=SvrLGOn0; 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 S934324AbdKQHie (ORCPT + 91 others); Fri, 17 Nov 2017 02:38:34 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:37776 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934275AbdKQHiK (ORCPT ); Fri, 17 Nov 2017 02:38:10 -0500 Received: by mail-wm0-f66.google.com with SMTP id v186so4514941wma.2 for ; Thu, 16 Nov 2017 23:38:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexb-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=/o55atYA6VwixWTa0a1DftXA3sueMrbbtYQ5Gz/I5DQ=; b=SvrLGOn0b+hfxmq9cy5EESgWG27KwGxtQliR6+lVPMNAbrwuFk+0jPh1qGTBstW/qu mK7ZYyuBPaiaeIThhkVSOdg4IM1BkrfI7Wx/AbHqaLdiZHx/e+VF3AEgvuwPY8sY3WXV +OK9gXKvzEHxJWslA70dgoKob7jQtX9u8dcvFu8R23FaQz5fas8mO/Un5M+cIG+1BUGf Ptf5IAIFQqllBZRiuy0wrCpXERE8AfjCiOnd3voIcfU3oagWDesoJKSSWwkUDmP/FfP3 KU/4m7cRNVu+b7foFz0Fh5CxobYFp7+dfBmdzLeWkvRvh/zkJyeHBqtr7fnRX9n5bR2R ijLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=/o55atYA6VwixWTa0a1DftXA3sueMrbbtYQ5Gz/I5DQ=; b=QdKCysYhN3gLyu6bmtNI+fxiqWHx/BrPNVn9UKZNQB25AUIC21DkxzuQWhpoLucNDl tO97Bl2jUzoyJ5Dgtkr+Pf2teZIeDFHdWzCdasOafvROJei4sR/MmjKOO6LMhDt3v0pQ Q5xxvSL2qHquECDq3oQeIQmZbADckmFxPZbxxoinM6fpYWX9mPfIEaQc8FL+7OXcnnTU TXrX5YK4Tsdc9n1LPrzOt2Nzkfh6QSiGE1xXiPC8bXS9ZMBCcSDB+v4CN9f+QA6I6jIc O+/Z9AQbnl5ENf1/j5ugrfWEVOECFsJa9iucMpGQAVVKHHv7cv9kYfpCE21Z6XqSAdUI 4JUw== X-Gm-Message-State: AJaThX4OOT6HJnM+69rOzVi1tYM2L7TvrNdIB8rxtrUXe5PONrPg6sne aL+/7/CLN8ggviOjOTHDOZklXre4N7LDqEpaA9w4MA== X-Received: by 10.28.238.74 with SMTP id m71mr3184361wmh.83.1510904288812; Thu, 16 Nov 2017 23:38:08 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.157.195 with HTTP; Thu, 16 Nov 2017 23:37:28 -0800 (PST) In-Reply-To: <20171116151540.GA18500@silk.coyote.org> References: <20171112191821.240484206@linutronix.de> <20171112192142.525567667@linutronix.de> <20171116080723.279591c8@lwn.net> <20171116151540.GA18500@silk.coyote.org> From: Philippe Ombredanne Date: Fri, 17 Nov 2017 08:37:28 +0100 Message-ID: Subject: Re: [patch 1/7] Documentation: Add license-rules.rst to describe how to properly identify file licenses To: Jonas Oberg Cc: Jonathan Corbet , Thomas Gleixner , LKML , Linus Torvalds , Andrew Morton , Greg Kroah-Hartman , Christoph Hellwig , Russell King , Rob Herring , Joe Perches , xfs , Kate Stewart 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 On Thu, Nov 16, 2017 at 4:15 PM, Jonas Oberg wrote: > Hi, > >> One other thing that occurred to me is that documentation files, too, >> are copyrightable and should have license identifiers. > > Would it make sense to take an incremental approach to this? Get the > source code and identifiers worked on by Thomas et al through first, then > think about and fix up potential other issues, like the top level COPYING > file, or documentation :-) I could not agree more... code first! FWIW I scanned the whole docs with scancode as part of this exercise. They are rather ... messy license-wise, but even though I got through it eventually they also generally less critical license-wise IMHO. You can see some details of these scans in [1] though they are not 100% up to date: I did not post every intermediate scans and review there as things are moving at a fast pace. There are probably more pressing things to fix such as discrepancies between a MODULE_LICENSE and the licensing of a file when they do not match. Here [2] the top level comment is a plain GPL-2.0 "only" while the MODULE_LICENSE is a GPL-2.0+ "or later" (based on the plain "GPL" definition in module.h [3] and this is just one of many examples of this weirdness. Or fix the non-standard redefinition of the MODULE_LICENSE macro as DRIVER_LICENSE as in [2] and found elsewhere with grep -r . -e "DRIVER_LICENSE" These break the otherwise nicely grepable MODULE_LICENSE macros with this kind of warty redirection I stumbled upon while reviewing kernel license scans: #define DRIVER_LICENSE "GPL" [...] MODULE_LICENSE(DRIVER_LICENSE); [1] https://github.com/pombredanne/linux-kernel-scans/ [2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/alpha/kernel/srm_env.c?h=v4.14#n13 [3] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/include/linux/module.h?h=v4.14#n174 [4] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/gpu/drm/gma500/psb_drv.h?h=v4.14#n39 -- Cordially Philippe Ombredanne From 1584274527110884041@xxx Fri Nov 17 01:25:26 +0000 2017 X-GM-THRID: 1583890256805737544 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread