Re: [RFC] Provide in-kernel headers for making it easy to extend the kernel

From: Joel Fernandes
Date: Sat Jan 19 2019 - 11:27:30 EST


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