From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 55C51C61CE8 for ; Sat, 19 Jan 2019 16:27:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 20FB520883 for ; Sat, 19 Jan 2019 16:27:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=joelfernandes.org header.i=@joelfernandes.org header.b="kOoT1lyQ" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728723AbfASQ10 (ORCPT ); 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-Google-Smtp-Source: ALg8bN4rIC3vb5s/HB2a2LJ1VGLqrvU712iRgF658NLs//o/ZapiE3GBfVhCNqmd94SP5O7wK0JfoQ== 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