From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on archive.lwn.net X-Spam-Level: X-Spam-Status: No, score=-6.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by archive.lwn.net (Postfix) with ESMTP id 6DA957D91B for ; Thu, 28 Feb 2019 15:37:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732896AbfB1Php (ORCPT ); Thu, 28 Feb 2019 10:37:45 -0500 Received: from mail-qt1-f195.google.com ([209.85.160.195]:37079 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732840AbfB1Pho (ORCPT ); Thu, 28 Feb 2019 10:37:44 -0500 Received: by mail-qt1-f195.google.com with SMTP id a48so23980954qtb.4 for ; Thu, 28 Feb 2019 07:37:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelfernandes.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=v7gzrKezcIwFWzmox7p1htcPZe99ZZKhmzdK3ftXpus=; b=OKlYpKJqBw9BHHRrZOSIls+nwj3zlbcFyeg0IPRaw8UdAajO2bE/VBExoW3JxC7IVC HvDkVhyqO+nldKK++HWCT0R8ypOljUOTJ2u2/9s6Eh78c2xWDsjvKm0VFqRIvq/Pj9fr ef3hjYpwdGW/PDVfWqpTS5/FNimiC0v3bb8NI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=v7gzrKezcIwFWzmox7p1htcPZe99ZZKhmzdK3ftXpus=; b=e5MrouEIuGkshZenQ7UKXIrlAsuCypZhzyjYPWKVfdRxDAQ1PxUL3xx4ZyvqIUqCxA SDMkuB7EpEnSq0tLpRaWk1cfrRVQBwxTN3YbZ10iA3JaUvvPUqHu6XUXRutAmDP07Bz8 MS2i1c86EcK/BqnFJTHMylJaO2MHM7xeDuc1Z4MuPdAkgIbxc5FA6KeJsbyklVFc4mSH wueJGgga3cX4fLByaBRVZBJ08Tob7DLABOb0D+5Qz5DLuH5GXZejhiZcCA/oIPDPETsn iV2QN+6eb2rMh25oqRTA+5BEaRm3tV2PC6kMiPWw08hxN3+BzPxUe5a2SdTpn+fFvJrP r8Dw== X-Gm-Message-State: APjAAAW39K66KfkALX23ZqBx17UMMyZ+IhVByt5EkTCzNc032/usUhG7 EXrLZOOXXgaSuj3LdyJ0d13qYg== X-Google-Smtp-Source: AHgI3IbkuulTYVsXwFGsAS3HsZKOH6wBXPPpaz3vmYcZDvUCg/xtF+gV84H5QLDoGkuEgyxQVdUpmQ== X-Received: by 2002:ac8:2d68:: with SMTP id o37mr6487503qta.377.1551368263418; Thu, 28 Feb 2019 07:37:43 -0800 (PST) Received: from localhost ([2620:0:1004:1100:cca9:fccc:8667:9bdc]) by smtp.gmail.com with ESMTPSA id f189sm8129781qkb.79.2019.02.28.07.37.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 28 Feb 2019 07:37:42 -0800 (PST) Date: Thu, 28 Feb 2019 10:37:41 -0500 From: Joel Fernandes To: Greg KH Cc: Masami Hiramatsu , linux-kernel@vger.kernel.org, Andrew Morton , ast@kernel.org, atishp04@gmail.com, dancol@google.com, Dan Williams , Guenter Roeck , Jonathan Corbet , karim.yaghmour@opersys.com, Kees Cook , kernel-team@android.com, linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-trace-devel@vger.kernel.org, Manoj Rao , Masahiro Yamada , paulmck@linux.vnet.ibm.com, "Peter Zijlstra (Intel)" , qais.yousef@arm.com, rdunlap@infradead.org, rostedt@goodmis.org, Shuah Khan , Thomas Gleixner , yhs@fb.com Subject: Re: [PATCH v3 1/2] Provide in-kernel headers for making it easy to extend the kernel Message-ID: <20190228153741.GA168373@google.com> References: <20190227193748.132301-1-joel@joelfernandes.org> <20190228173444.54403795211d80ba540b61cb@kernel.org> <20190228150054.GB156098@google.com> <20190228153026.GG8481@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190228153026.GG8481@kroah.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-doc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org On Thu, Feb 28, 2019 at 04:30:26PM +0100, Greg KH wrote: > On Thu, Feb 28, 2019 at 10:00:54AM -0500, Joel Fernandes wrote: > > > Hmm, isn't it easier to add kernel-headers package on Android? > > > > I have already been down that road. In the Android ecosystem, the Android > > teams only provide a "userspace system image" which goes on the system > > partition of the flash (and a couple other images are also provided but > > system is the main one). The system image cannot contain GPL source code. > > Note, that last sentance is not true, it can contain whatever license > code it wants to, as long as the group doing the distribution abides by > the license of the code contained in it. > > The split of system and other images has nothing to do with license > issues, but rather functional requirements. There _might_ be GPL > licensed code in the image if it meets a requirement for the proper > functionality of the system, you never know :) I am not a lawyer either but I know I tried to convince people to allow headers (GPL sources) on the system image for this same reason and was told that is not something allowed (allowed can also mean "people are Ok with"). In any case, it is not practical to provide headers for every kernel version on the system image and maintain them, it will take up too much space and has to be periodically packaged. Not to mention that there will be kernel versions that are booting Android that simply don't have anyone maintaining headers for. So the proposed solution is an easier path. thanks, - Joel > > thanks, > > greg "not a lawyer but I work with a lot of them all the time" k-h