[PATCH] selftests: bpf: Adding config fragment CONFIG_CGROUP_BPF=y

Subsystems: bpf [general] (safe dynamic programs and tools), bpf [selftests] (test runners & infrastructure), kernel selftest framework, the rest

STALE3231d

3 messages, 3 authors, 2017-12-12 · open the first message on its own page

[PATCH] selftests: bpf: Adding config fragment CONFIG_CGROUP_BPF=y

From: Naresh Kamboju <hidden>
Date: 2017-12-11 19:25:30

CONFIG_CGROUP_BPF=y is required for test_dev_cgroup test case.

Signed-off-by: Naresh Kamboju <redacted>
---
 tools/testing/selftests/bpf/config | 1 +
 1 file changed, 1 insertion(+)
diff --git a/tools/testing/selftests/bpf/config b/tools/testing/selftests/bpf/config
index 52d53ed..9d48973 100644
--- a/tools/testing/selftests/bpf/config
+++ b/tools/testing/selftests/bpf/config
@@ -3,3 +3,4 @@ CONFIG_BPF_SYSCALL=y
 CONFIG_NET_CLS_BPF=m
 CONFIG_BPF_EVENTS=y
 CONFIG_TEST_BPF=m
+CONFIG_CGROUP_BPF=y
-- 
2.7.4

Re: [PATCH] selftests: bpf: Adding config fragment CONFIG_CGROUP_BPF=y

From: Roman Gushchin <hidden>
Date: 2017-12-11 19:41:40

Hi Naresh,

Looks good!

Thanks!

On Tue, Dec 12, 2017 at 12:55:23AM +0530, Naresh Kamboju wrote:
quoted hunk
CONFIG_CGROUP_BPF=y is required for test_dev_cgroup test case.

Signed-off-by: Naresh Kamboju <redacted>
---
 tools/testing/selftests/bpf/config | 1 +
 1 file changed, 1 insertion(+)
diff --git a/tools/testing/selftests/bpf/config b/tools/testing/selftests/bpf/config
index 52d53ed..9d48973 100644
--- a/tools/testing/selftests/bpf/config
+++ b/tools/testing/selftests/bpf/config
@@ -3,3 +3,4 @@ CONFIG_BPF_SYSCALL=y
 CONFIG_NET_CLS_BPF=m
 CONFIG_BPF_EVENTS=y
 CONFIG_TEST_BPF=m
+CONFIG_CGROUP_BPF=y
-- 
2.7.4

Re: [PATCH] selftests: bpf: Adding config fragment CONFIG_CGROUP_BPF=y

From: Daniel Borkmann <daniel@iogearbox.net>
Date: 2017-12-12 01:34:19

On 12/11/2017 08:25 PM, Naresh Kamboju wrote:
CONFIG_CGROUP_BPF=y is required for test_dev_cgroup test case.

Signed-off-by: Naresh Kamboju <redacted>
Applied to bpf-next, thanks Naresh!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help