Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4394566imu; Sat, 19 Jan 2019 08:29:46 -0800 (PST) X-Google-Smtp-Source: ALg8bN7Q8pkf6plSgbovoX41AH7+zRE/QaaMHyc9TWuX1ikXd9jOm47UnRo81IbJfFSDwUEX26Ww X-Received: by 2002:a63:ca02:: with SMTP id n2mr22190797pgi.187.1547915386232; Sat, 19 Jan 2019 08:29:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547915386; cv=none; d=google.com; s=arc-20160816; b=fNMtfYcN9OVTwj5NVYbEN4IYdAM1O4LmSa01cqOPuJhHNHrT/JUILVV7ac5q1nLzQq wtS+gElNc7pp4Vn+8Pkzep+zyNuyGWKPL5xy3nc7M+8PXBTltwpoZCywxpLlIzywC0KB ocMXKBD0txlBTiL9aU6gqqOmPTbCMl8epNnv4Hpqno7jKsqecF9djyTSpAxJ2SS8MN+t wSwWxEhrwHtJc5V2XwhS2mQ0ZhnVeDldNOPa3OMxKYzmBn1qqW4tjUgF7O85/r2NekA1 Amn95mP7F6AWu+ofbfxqtqYiGjtGt5H1eLtWa78qXn9q8awLlhf5PL+20tc9IN3/sRep NKxw== 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; bh=y6F2rJwo7Os6XO76tOiHQ4GfbbU2zmNPL4N85CKP08E=; b=YeGSMI8OTR24FwuTjN27cOe1Lfct53ttZqDj3wWtVJIYWEJRUIb4/wzv0H6iAY2Qjc JtP6gMz9Ygf59jxMEJv3WCuqrHZwmIRFUSzNsOoCc99OvMHAMYciGs8zsAhk5OR0iTH1 XNAgwCSXrdUUVFsOdsuByTjszzAZmM9k632lq2fnM5KKS7Wz7Pska7C0QxzfYf9+ftos RS1RGxiUg0F+Qd+nblsWVqjhQXcHKU8mm0/u9tNmBPO1Y4w7EZBDyAdsZ1BVnlz873zw zMg2dCeAK7dQSoI9o6jSw2k1ye6JYoPV93rCEpFWeUeCLQbSOzRSWtR7xH54IhHbSwtS CLLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b=kOoT1lyQ; 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 x23si1925803pgj.247.2019.01.19.08.29.28; Sat, 19 Jan 2019 08:29:46 -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=@joelfernandes.org header.s=google header.b=kOoT1lyQ; 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 S1728693AbfASQ10 (ORCPT + 99 others); Sat, 19 Jan 2019 11:27:26 -0500 Received: from mail-qk1-f194.google.com ([209.85.222.194]:33219 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728612AbfASQ10 (ORCPT ); Sat, 19 Jan 2019 11:27:26 -0500 Received: by mail-qk1-f194.google.com with SMTP id d15so9845759qkj.0 for ; Sat, 19 Jan 2019 08:27:25 -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=y6F2rJwo7Os6XO76tOiHQ4GfbbU2zmNPL4N85CKP08E=; b=kOoT1lyQc1o3M9OVOvjd1YGks7zbF2+nkMORGWI+k58DneHbv1/fM4zNaT1XjMgx7I M86ZoCWjXxrMvSYFaluPMpnV1MeZ62RtmUkz//yp+v5afhiWcr3S+4zLXNqkTRlGWaKD 3u/N2bcnP67uYr3c9ZmHFdqynnp3wH9TQfUjA= 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=y6F2rJwo7Os6XO76tOiHQ4GfbbU2zmNPL4N85CKP08E=; b=ny3cfVLIplX13wJLssIqV2aR7nO7IsV1P4EEUakeRP10tLt7Nt2yvXg+ljW7tDzPa/ g0lGWtpXZGsyKHN3hjErnbhAeIzvXGAk4dWLEOVpy0/pBsvQ7FxIziGvnSZygefDz1Ax xkpeQ70MDvH0eXJLy8v4w1Rmqi/moY20V90/suJCeJAJ3+BqoutVskpTyPV/Qp8Q7FSd WyrIKHs+DG6W9/e3KQkXkosAKb0buXRH27b37GgJ1QGmpyYCV+8HZM9IEtAO72470YoU iQKQBN0IaBr5ivZ0MUAfSdGiOf7onGxbhEvqfooP63y9ps9Nimk0jTWAhO5GJmg3WCz6 6Reg== X-Gm-Message-State: AJcUukdoxTkrk22J+JfFcAbNASXJxnDrp5iPcMdce6sw+g/gBV97vDxT Xq+7kWbZlUFY+r6+33SRzfn8mA== X-Received: by 2002:a37:34f:: with SMTP id 76mr19111701qkd.347.1547915244641; Sat, 19 Jan 2019 08:27:24 -0800 (PST) Received: from localhost ([2620:0:1004:1100:cca9:fccc:8667:9bdc]) by smtp.gmail.com with ESMTPSA id z18sm21667328qkz.96.2019.01.19.08.27.23 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 19 Jan 2019 08:27:23 -0800 (PST) Date: Sat, 19 Jan 2019 11:27:23 -0500 From: Joel Fernandes To: Greg KH Cc: linux-kernel@vger.kernel.org, Andrew Morton , ast@kernel.org, atishp04@gmail.com, Borislav Petkov , dancol@google.com, "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: <20190119162723.GB231277@google.com> References: <20190118225543.86996-1-joel@joelfernandes.org> <20190119082604.GB9004@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190119082604.GB9004@kroah.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jan 19, 2019 at 09:26:04AM +0100, Greg KH wrote: > On Fri, Jan 18, 2019 at 05:55:43PM -0500, Joel Fernandes wrote: > > --- a/init/Kconfig > > +++ b/init/Kconfig > > @@ -549,6 +549,16 @@ config IKCONFIG_PROC > > This option enables access to the kernel configuration file > > through /proc/config.gz. > > > > +config IKHEADERS_PROC > > + tristate "Enable kernel header artifacts through /proc/kheaders.tgz" > > + select BUILD_BIN2C > > + depends on PROC_FS > > + help > > + This option enables access to the kernel header and other artifacts that > > + are generated during the build process. These can be used to build kernel > > + modules, and other in-kernel programs such as those generated by eBPF > > + and systemtap tools. > > + > > Minor nit, say what the module name here is if you pick the option as a > module? Sure, will add the name of the module in the help text. thanks! - Joel