Re: [PATCH 3/3] kheaders: Make it depend on sysfs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: [PATCH 3/3] kheaders: Make it depend on sysfs
- From: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>
- Date: Sat, 11 May 2019 09:52:04 +0900
- Cc: Linux Kernel Mailing List <linux-kernel@xxxxxxxxxxxxxxx>, Adrian Ratiu <adrian.ratiu@xxxxxxxxxxxxx>, Alexei Starovoitov <ast@xxxxxxxxxx>, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>, atish patra <atishp04@xxxxxxxxx>, bpf@xxxxxxxxxxxxxxx, Brendan Gregg <bgregg@xxxxxxxxxxx>, Brendan Gregg <brendan.d.gregg@xxxxxxxxx>, Daniel Colascione <dancol@xxxxxxxxxx>, Daniel Borkmann <daniel@xxxxxxxxxxxxx>, Dan Williams <dan.j.williams@xxxxxxxxx>, Dietmar Eggemann <dietmar.eggemann@xxxxxxx>, duyuchao <yuchao.du@xxxxxxxxxx>, Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>, Guenter Roeck <groeck@xxxxxxxxxxxx>, Jonathan Corbet <corbet@xxxxxxx>, Karim Yaghmour <karim.yaghmour@xxxxxxxxxxx>, Kees Cook <keescook@xxxxxxxxxxxx>, "Cc: Android Kernel" <kernel-team@xxxxxxxxxxx>, "open list:DOCUMENTATION" <linux-doc@xxxxxxxxxxxxxxx>, "open list:KERNEL SELFTEST FRAMEWORK" <linux-kselftest@xxxxxxxxxxxxxxx>, linux-trace-devel@xxxxxxxxxxxxxxx, Manjo Raja Rao <linux@xxxxxxxxxxxxxxxx>, Masami Hiramatsu <mhiramat@xxxxxxxxxx>, Michał Gregorczyk <michalgr@xxxxxx>, Michal Gregorczyk <michalgr@xxxxxxxx>, Mohammad Husain <russoue@xxxxxxxxx>, Olof Johansson <olof@xxxxxxxxx>, Qais Yousef <qais.yousef@xxxxxxx>, Randy Dunlap <rdunlap@xxxxxxxxxxxxx>, Steven Rostedt <rostedt@xxxxxxxxxxx>, Shuah Khan <shuah@xxxxxxxxxx>, Srinivas Ramana <sramana@xxxxxxxxxxxxxx>, Tamir Carmeli <carmeli.tamir@xxxxxxxxx>, Yonghong Song <yhs@xxxxxx>
- In-reply-to: <20190510210243.152808-4-joel@joelfernandes.org>
- References: <20190510210243.152808-1-joel@joelfernandes.org> <20190510210243.152808-4-joel@joelfernandes.org>
On Sat, May 11, 2019 at 6:05 AM Joel Fernandes (Google)
<joel@xxxxxxxxxxxxxxxxx> wrote:
>
> The kheaders archive is exposed through SYSFS in /sys/kernel/. Make it
> depend on SYSFS as it makes no sense to enable this feature without it.
And, it also makes no sense to break the feature by 1/3,
then fix it by 3/3.
Why don't you squash this?
>
> Suggested-by: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>
> Signed-off-by: Joel Fernandes (Google) <joel@xxxxxxxxxxxxxxxxx>
> ---
> init/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/init/Kconfig b/init/Kconfig
> index ce08adf0f637..f27138a8cf28 100644
> --- a/init/Kconfig
> +++ b/init/Kconfig
> @@ -581,6 +581,7 @@ config IKCONFIG_PROC
>
> config IKHEADERS
> tristate "Enable kernel headers through /sys/kernel/kheaders.tar.xz"
> + depends on SYSFS
> help
> This option enables access to the in-kernel headers that are generated during
> the build process. These can be used to build eBPF tracing programs,
> --
> 2.21.0.1020.gf2820cf01a-goog
>
--
Best Regards
Masahiro Yamada
[Index of Archives]
[Linux USB Development]
[Linux USB Development]
[Linux Audio Users]
[Yosemite Hiking]
[Linux Kernel]
[Linux SCSI]