Received: by 10.223.185.116 with SMTP id b49csp2428057wrg; Mon, 12 Feb 2018 09:22:03 -0800 (PST) X-Google-Smtp-Source: AH8x227UqUit01a4b4rFOIgIGjwzcEjWHC9ilERx44tUnIGykoS/R9XVkKLFNQhL6AksLnQnmxOj X-Received: by 10.98.72.206 with SMTP id q75mr12420192pfi.219.1518456123564; Mon, 12 Feb 2018 09:22:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518456123; cv=none; d=google.com; s=arc-20160816; b=WWHCxxaROPnxg0MqGz4sHN1yh0zjgeDbMTIDaZf5BVk/vPk8RD7JBSGPbLrBXyVIf+ 4oim7/FdJqyLZc6Rq53Ag1gzU1+Qvk9U4dG9Q4MwgVTSp4NpYcarqTsE3IoCJMR44cRB NrqM4oYzhp+08/7zOVHNyMaJ7qe3m9gxerig7H3mHIySHcui/oZnU1uDnJMtX0hzoZ5S sIL9/Lafut+cfvKdDhhikIzofKo5x5fLJVXR5jZhhBqAiSuOZe5cCQG1EhmN9jR0jXJT VX0ZlQCORRl9Fgj3d+6yposRzjQ9Zxmp7fZDpDNEAb5DgfPLrgCmmuWKcWaMFW6HUfyi SLJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:dkim-signature :arc-authentication-results; bh=NMhSzjWpoKE9vIY691GMVNLVnwv2WPoQtW5F5wbgYZI=; b=LBbOciT/PTjNJ15PgfWYrmWlqFBv8SrIePy6qsKrTdluhtvyUkd/JC9kIQyRIjR7x7 ajmNMONvvNVHrycUl+li7FhmbSmWjM5PPCC514QS4Iho8nlq+b5P2MV8LKnaypRKrBw2 0Wy86Z8vkAgXi1xDmfxo29+Jph3zH23yjA0WgZaLGjaiyQcwoQfJSfHw+q26iUomG8yB GJw1QzUPtjvptgJH4KhbdS9no7x/MddpKHqRdhJeXolQAvCvszgqFRNU8UURJGOWLQBF YYOuCvnjIv510ISFOhPTV/3LJ1mIXLEo8/YIqpsdylrfS9ylZvTMvDznGuu+frNnaT7e Ioog== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=Sk3GMuli; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=ULS+WJUi; 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 t5si6516726pfj.99.2018.02.12.09.21.48; Mon, 12 Feb 2018 09:22:03 -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=fail header.i=@infradead.org header.s=casper.20170209 header.b=Sk3GMuli; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=ULS+WJUi; 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 S1752929AbeBLRUf (ORCPT + 99 others); Mon, 12 Feb 2018 12:20:35 -0500 Received: from casper.infradead.org ([85.118.1.10]:52064 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751379AbeBLRUP (ORCPT ); Mon, 12 Feb 2018 12:20:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=NMhSzjWpoKE9vIY691GMVNLVnwv2WPoQtW5F5wbgYZI=; b=Sk3GMuli6M3+xHITYlMtQ1EQC I6JgrqXoU0/6hleOnsxKwSbEr8ITUh9pcPhcG714a9P3hb9jsOqHciihkYmFhP6Kx8T25uFGlgW2z JQKfGYFxY2Vwnct9TkGR53aS7g3sAD36RyRbP5Uij8pw8UQZ9DhnJdGbukmQN5PnQjmU82L9/90B9 3T+36GGkD+CoPKyxXGZ7B5Ibvgy+Ct5JFYooNSLuvdos360tTdaMHH1lPkCDGrXljO8viE+lU2nmP yoOD5kkWxpAEgf1KK6sVp6H6/mQaPkSwtCXkvl67DSYs3RtccM8HjyYuveNe8V/X7g44JsVRmoqXv +dety0u8A==; Received: from [198.137.202.133] (helo=bombadil.infradead.org) by casper.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1elHlk-0003m7-Ke; Mon, 12 Feb 2018 17:19:56 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=NMhSzjWpoKE9vIY691GMVNLVnwv2WPoQtW5F5wbgYZI=; b=ULS+WJUiLocc4DNnxPhHfiQHM C2ozBmQbV2yFG/+zXxoPjph2x9PcNTv0p+zb/s11ycs8sKvloPGq4TQngGDqqY5E8lIjskeF32DUO KclSGkB2yrVswKVhtAuJJj3P6oa/BH3xVJ3sDA5c2b4YeHwsq7UT/9Khz59PHumjro+yyf7nV4tie Lu8wtJBsvvIq74OJrZMQDd8tR+gAgQMmk+vO/4ZB4LqLHddp+ekirgQQ/Gw3JjGLmgbtZcscsaalw ANaejqfYva6bgEKcDu5nH5kAy2VClBhXNA9MgEgnYzoEDnPS1Poet5dVCalyGXKKeI06CwgtOOty8 vBPzRdo4A==; Received: from willy by bombadil.infradead.org with local (Exim 4.89 #1 (Red Hat Linux)) id 1elHl7-0007my-S4; Mon, 12 Feb 2018 17:19:17 +0000 Date: Mon, 12 Feb 2018 09:19:17 -0800 From: Matthew Wilcox To: Jonathan Corbet Cc: Igor Stoppa , linux-kernel@vger.kernel.org, Thomas Gleixner , Philippe Ombredanne , Kate Stewart , Greg Kroah-Hartman Subject: License documentation Message-ID: <20180212171917.GA9396@bombadil.infradead.org> References: <20180130151446.24698-1-igor.stoppa@huawei.com> <20180130151446.24698-6-igor.stoppa@huawei.com> <20180130100852.2213b94d@lwn.net> <56eb3e0d-d74d-737a-9f85-fead2c40c17c@huawei.com> <20180210033714.GA12711@bombadil.infradead.org> <20180212082849.1377f7e6@lwn.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180212082849.1377f7e6@lwn.net> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 12, 2018 at 08:28:49AM -0700, Jonathan Corbet wrote: > On Fri, 9 Feb 2018 19:37:14 -0800 > Matthew Wilcox wrote: > > > I've done this as the first line of my new documentation files: > > > > .. SPDX-License-Identifier: CC-BY-SA-4.0 > > > > I think this is the CC license that's closest in spirit to the GPL without > > the unintended consequences of the GPL when used on documentation. The > > GFDL seems to be out of favour these days. > > I think that's a great license. I still fear that it is not suitable for > kernel documentation, though, especially when we produce documents that > include significant text from the (GPL-licensed) kernel source. The > result is almost certainly not distributable, and I don't think that's a > good thing. The GPL is not perfect for documentation, but I don't think > that we have a better alternative for in-kernel docs. That's a reasonable concern. I've read other reasonable concerns about the unintended effects of using the GPL to produce a printed book (eg can you print it in a proprietary font, do you have to provide an electronic version of the text, and so on). I fear these wise words still ring true: But the real problem is that we as a community lack a copyleft license that works well for both code and text. About the only thing that even comes close to working is putting the documentation under the GPL as well, but the GPL is a poor fit for text. Nonetheless, it may be the best we have in cases where GPL-licensed code is to be incorporated into documentation. I dare suggest another possibility: that we create a further exception to the license that the kernel is distributed under. Something along these lines: Documentation [1] extracted from files marked as GPL [2] may be distributed under the terms of the CC-BY-SA-4.0 license. [1] This includes text explicitly marked for extraction using the kernel-doc tool. It may include short example code sequences. It does not include code that would normally be expected to be compiled. [2] GPL-2.0, GPL-2.0+, GPL-1.0+, LGPL-2.0, LGPL-2.0+, LGPL-2.1, LGPL-2.1+ We'd want to run it by a lawyer, of course, to have them check for unintended consequences.