]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
kheaders: Move from proc to sysfs
authorJoel Fernandes (Google) <joel@joelfernandes.org>
Wed, 15 May 2019 21:35:51 +0000 (17:35 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 May 2019 18:16:01 +0000 (20:16 +0200)
commitf7b101d33046a837c2aa4526cef28a3c785d7af2
tree50756746345f4a6ba56994e823d5f60681eb662d
parenta188339ca5a396acc588e5851ed7e19f66b0ebd9
kheaders: Move from proc to sysfs

The kheaders archive consisting of the kernel headers used for compiling
bpf programs is in /proc. However there is concern that moving it here
will make it permanent. Let us move it to /sys/kernel as discussed [1].

[1] https://lore.kernel.org/patchwork/patch/1067310/#1265969

Suggested-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
init/Kconfig
kernel/Makefile
kernel/gen_kheaders.sh [moved from kernel/gen_ikh_data.sh with 98% similarity]
kernel/kheaders.c