selftests/bpf: Copy over libbpf configs
authorDaniel Müller <deso@posteo.net>
Wed, 27 Jul 2022 00:11:55 +0000 (00:11 +0000)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 27 Jul 2022 15:02:38 +0000 (17:02 +0200)
commitcbd620fc18cad51500c46e222328ca60adaa4644
tree94651f6288759e80a4f60c553e06fe880a2edd17
parentaee993bbd05cede097885fa74e2627a458d3418a
selftests/bpf: Copy over libbpf configs

This change integrates libbpf maintained configurations and black/white
lists [0] into the repository, co-located with the BPF selftests themselves.
We minimize the kernel configurations to keep future updates as small as
possible [1].

Furthermore, we make both kernel configurations build on top of the existing
configuration tools/testing/selftests/bpf/config (to be concatenated before
build). Lastly, we replaced the terms blacklist & whitelist with denylist and
allowlist, respectively.

  [0] https://github.com/libbpf/libbpf/tree/20f03302350a4143825cedcbd210c4d7112c1898/travis-ci/vmtest/configs
  [1] https://lore.kernel.org/bpf/20220712212124.3180314-1-deso@posteo.net/T/#m30a53648352ed494e556ac003042a9ad0a8f98c6

Signed-off-by: Daniel Müller <deso@posteo.net>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Acked-by: Mykola Lysenko <mykolal@fb.com>
Link: https://lore.kernel.org/bpf/20220727001156.3553701-3-deso@posteo.net
tools/testing/selftests/bpf/DENYLIST [new file with mode: 0644]
tools/testing/selftests/bpf/DENYLIST.s390x [new file with mode: 0644]
tools/testing/selftests/bpf/config.s390x [new file with mode: 0644]
tools/testing/selftests/bpf/config.x86_64 [new file with mode: 0644]