Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp4498613imb; Wed, 6 Mar 2019 15:10:14 -0800 (PST) X-Google-Smtp-Source: APXvYqydGILHgZmB92zkD159NtdsA/E4u6j2OBelcfvkjxtImCtUiZJO/zTJbUAmroAtDjzev068 X-Received: by 2002:a63:8948:: with SMTP id v69mr8712360pgd.140.1551913814293; Wed, 06 Mar 2019 15:10:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551913814; cv=none; d=google.com; s=arc-20160816; b=ML9Exq22wxXLFtzwfRCpuxaA+5hGR5ttDYZgBnf89Li494NiZohDd3j7puPLND4ZeA xy18nIUNA0umrNt9oqca3IZJuSQ2VNVITYN+povAPLLh4z8TLwh7znYvYLCTNokmU27d nGs4T3emqEQ06Mb/G50rtSSCSuouGvolgkaW0/wes/onM9z6IjdsyjOK8WsatI++PkJM ilkZYosu1sU9zuwWGdmJAmJJzKCwTfSo6p6+jAsfzaOvO/peQ7j8TDCgrkjXsr7MvKBA /ZFkuqshKdZY627hMn7IcvEuFu7Jy1LpEwz3scAWvw2g432PiPYO3kuSKY24QimEFzo/ rjkg== 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; bh=kizDhJtbk09+PdwMmxv5Axj5uvJimuPR6XKV5C7JYSg=; b=nGDUxVlGXZhB9YNSitd5tUl0pKeOURYwlny483SkHSLiX/Zkp+PkQESnc1ooEYQNW3 iEnuHCQxX6gIxobmwMXktm7q3EV73X5dnOa1TeM4y6ine76uslmTl474RD8KaEcYSvtW tlSRL6xhCcZRXsEOiUS3AjFvWwEbAknQXm6BebK4Tyj9fVnTg/4Bd5ZfCL+ke+Ub6sTN /N+fAVgd09xOlNdNPb7aol+nSkr1Cca93epEcVYaorKYsBDsTA2cftI1OypV0iR8ITJx CAfq7kC7iU84mvkbLStFdDBxtSENIGoGHvOnLw+hpx3C0BdVY+yHdu57UyNZa2BnRZI1 hqeA== ARC-Authentication-Results: i=1; mx.google.com; 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 89si2600410pld.153.2019.03.06.15.09.58; Wed, 06 Mar 2019 15:10:14 -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; 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 S1726127AbfCFXJi (ORCPT + 99 others); Wed, 6 Mar 2019 18:09:38 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:57400 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725788AbfCFXJh (ORCPT ); Wed, 6 Mar 2019 18:09:37 -0500 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 9888D80449; Thu, 7 Mar 2019 00:09:28 +0100 (CET) Date: Thu, 7 Mar 2019 00:09:34 +0100 From: Pavel Machek To: Joel Fernandes Cc: linux-kernel@vger.kernel.org, Andrew Morton , ast@kernel.org, atishp04@gmail.com, Borislav Petkov , dancol@google.com, gregkh@linuxfoundation.org, "H. Peter Anvin" , Ingo Molnar , Jan Kara , Jonathan Corbet , karim.yaghmour@opersys.com, Kees Cook , kernel-team@android.com, linux-doc@vger.kernel.org, Manoj Rao , Masahiro Yamada , paulmck@linux.vnet.ibm.com, "Peter Zijlstra (Intel)" , rdunlap@infradead.org, rostedt@goodmis.org, Thomas Gleixner , "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , yhs@fb.com Subject: Re: [RFC] Provide in-kernel headers for making it easy to extend the kernel Message-ID: <20190306230934.GA7915@amd> References: <20190118225543.86996-1-joel@joelfernandes.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FL5UXtIhxfXey3p5" Content-Disposition: inline In-Reply-To: <20190118225543.86996-1-joel@joelfernandes.org> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --FL5UXtIhxfXey3p5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri 2019-01-18 17:55:43, Joel Fernandes wrote: > From: "Joel Fernandes (Google)" >=20 > Introduce in-kernel headers and other artifacts which are made available > as an archive through proc (/proc/kheaders.tgz file). This archive makes > it possible to build kernel modules, run eBPF programs, and other > tracing programs that need to extend the kernel for tracing purposes > without any dependency on the file system having headers and build > artifacts. >=20 > On Android and embedded systems, it is common to switch kernels but not > have kernel headers available on the file system. Raw kernel headers > also cannot be copied into the filesystem like they can be on other > distros, due to licensing and other issues. There's no linux-headers If your licensing prevents you from having headers on the filesystem... then I guess you should fix the licensing. I agree with Christoph, this looks pretty horrible. Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --FL5UXtIhxfXey3p5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlyAUy4ACgkQMOfwapXb+vIkRgCgjmm82c+3htKMrxgu9SMJ68mM mQ8An0DTKGTVOU5v2sd+FIhRicsYg/ZN =sq5v -----END PGP SIGNATURE----- --FL5UXtIhxfXey3p5--