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)
commit0604409df9e04cdec7b08d471c8c1c0c10b5554d
treefdd0988c9231a777a9d03b0194c4f752ececd9d0
parente91dcb536ae263ecff07118e36bf820c229a6ecd
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