Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4024472imu; Sat, 19 Jan 2019 00:27:59 -0800 (PST) X-Google-Smtp-Source: ALg8bN464HpdiwIqN+az1McnxSReDu4ie+sun/IJmNKYTuiB99jE62rKCchbblfpqWbsjzF25Wi4 X-Received: by 2002:a63:6704:: with SMTP id b4mr20938580pgc.100.1547886478938; Sat, 19 Jan 2019 00:27:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547886478; cv=none; d=google.com; s=arc-20160816; b=MZwhFFt17CfUym6itX1VCpzbQTGMIRNbALlD3kVcnKeIH0UZYgMRsRqnSHLGoF3U4o aDoNpWzqYrYnCAX3+KDKofbMs+Nun+RjrPOokioWFJDNiE/jpdKnhLc9aB/UW3UX/xlb dCT1xlA3u5/IGjyOIriv7kNyJcJ1XF7eIfrHMGBZvhXHDAVtkExg5ZXDMsPNGUP0hwey aa8x9iSVEHY8p2NN/GvbWoHbAdrKSaUY9JadSdB5QEN/jZLGDGfFuL56Cn8LJ2daC/sx rJB6TyrfTKMiLBvb5M2sVHKj5i4tZrSNpaTTRRhoJQgH+e2ogMN+ooR0Bik3IqZ6SYQs n1bA== 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=cw2HSN8UzVc+0MrWHgUIEQzkw3hGpp2mtIu3NxVfAD0=; b=OSkAOf5ybBKIOxKI7JrXl2fOW+Le1dxlTBG2RUW0OZvtLE1jJsZKxLYDU1jJivoi8t o31c8V1sQ4b8OAl2BEf16Z+6Xwq54s45amXDCupbuOpahX6qJFKOhQ8nqeu6nmgRWenD RuucpAmeKeTFgAh6eohKoqNI2pnr9RWpeFVY0CigJN02EXqHjRWJyhJP+//S2gqPu60e g+/qFB+zPfmICo84K0vk3zeeK/8fikP31VaD8gli+yvZJNWLcqStegsx/aWHUyAMsyVx GffWak6aoXJlpeAaxaLsXvej7hisGNMp3z1qO8tTD0gqWy9O6Jh/SFNrB5unm5WueSpm iXZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=frhTY2a7; 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 x135si7571918pgx.579.2019.01.19.00.27.40; Sat, 19 Jan 2019 00:27:58 -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=@kernel.org header.s=default header.b=frhTY2a7; 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 S1727694AbfASI0I (ORCPT + 99 others); Sat, 19 Jan 2019 03:26:08 -0500 Received: from mail.kernel.org ([198.145.29.99]:41554 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725910AbfASI0I (ORCPT ); Sat, 19 Jan 2019 03:26:08 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E3DD620823; Sat, 19 Jan 2019 08:26:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1547886367; bh=hKbRYsjDUoJq4lEyje5xujwnZRY7J3gM85Quk/yTszU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=frhTY2a7OZXWFx56/tWB8bxmeCAW7JaYQk315oXLDSzLbIF0XIfp52vkHx9uUznRG mqLFCYnHfK8EzkMP44upRFEjxxamhCbr7IxhE5CMQ9CaO6yomCXlt2gFDJG6byAfk3 vinuwifWw3Q2MoRdnvWQFYOZ+aXcuO8MI7fkau0c= Date: Sat, 19 Jan 2019 09:26:04 +0100 From: Greg KH To: Joel Fernandes 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: <20190119082604.GB9004@kroah.com> References: <20190118225543.86996-1-joel@joelfernandes.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190118225543.86996-1-joel@joelfernandes.org> User-Agent: Mutt/1.11.2 (2019-01-07) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? thanks, greg k-h