From: Andy Lutomirski Date: Fri, 16 Dec 2016 16:33:45 +0000 (-0800) Subject: cgroup: Fix CGROUP_BPF config X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=483c4933ea09b7aa625b9d64af286fc22ec7e419;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git cgroup: Fix CGROUP_BPF config CGROUP_BPF depended on SOCK_CGROUP_DATA which can't be manually enabled, making it rather challenging to turn CGROUP_BPF on. Signed-off-by: Andy Lutomirski Acked-by: Alexei Starovoitov Signed-off-by: David S. Miller --- diff --git a/init/Kconfig b/init/Kconfig index 405120b5f13e..951102707007 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -1156,7 +1156,8 @@ config CGROUP_PERF config CGROUP_BPF bool "Support for eBPF programs attached to cgroups" - depends on BPF_SYSCALL && SOCK_CGROUP_DATA + depends on BPF_SYSCALL + select SOCK_CGROUP_DATA help Allow attaching eBPF programs to a cgroup using the bpf(2) syscall command BPF_PROG_ATTACH.