diff options
author | Andy Lutomirski <luto@kernel.org> | 2016-12-16 17:33:45 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-18 03:42:45 +0100 |
commit | 483c4933ea09b7aa625b9d64af286fc22ec7e419 (patch) | |
tree | 26be0741c7daabd2e3d7f10a10f525c41702ce14 /init/Kconfig | |
parent | Merge tag 'mac80211-for-davem-2016-12-16' of git://git.kernel.org/pub/scm/lin... (diff) | |
download | linux-483c4933ea09b7aa625b9d64af286fc22ec7e419.tar.xz linux-483c4933ea09b7aa625b9d64af286fc22ec7e419.zip |
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 <luto@kernel.org>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'init/Kconfig')
-rw-r--r-- | init/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
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. |