Message ID | 8d48c3940f8d0275da6398ea5bcef14e20233db5.1481905995.git.luto@kernel.org |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
On Fri, Dec 16, 2016 at 08:33:45AM -0800, Andy Lutomirski wrote: > 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 <luto@kernel.org> Acked-by: Alexei Starovoitov <ast@kernel.org>
From: Andy Lutomirski <luto@kernel.org> Date: Fri, 16 Dec 2016 08:33:45 -0800 > 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 <luto@kernel.org> Applied, thanks.
diff --git a/init/Kconfig b/init/Kconfig index aafafeb0c117..223b734abccd 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.
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 <luto@kernel.org> --- init/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)