]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: add config fragment BPF_JIT
authorAnders Roxell <anders.roxell@linaro.org>
Tue, 20 Aug 2019 13:41:34 +0000 (15:41 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 21 Aug 2019 15:05:06 +0000 (17:05 +0200)
commit0566d3b8b0e7adf5959725235ba821cd2013eadb
treefdd0988c9231a777a9d03b0194c4f752ececd9d0
parente682cfb58ca0a8e2493a11ee7b587e8fa58c2b79
selftests/bpf: add config fragment BPF_JIT

When running test_kmod.sh the following shows up

 # sysctl cannot stat /proc/sys/net/core/bpf_jit_enable No such file or directory
 cannot: stat_/proc/sys/net/core/bpf_jit_enable #
 # sysctl cannot stat /proc/sys/net/core/bpf_jit_harden No such file or directory
 cannot: stat_/proc/sys/net/core/bpf_jit_harden #

Rework to enable CONFIG_BPF_JIT to solve "No such file or directory"

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/testing/selftests/bpf/config