]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: Add bpffs preload test.
authorAlexei Starovoitov <ast@kernel.org>
Wed, 19 Aug 2020 04:27:59 +0000 (21:27 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 20 Aug 2020 14:02:36 +0000 (16:02 +0200)
commit077560b7451cf75e2659c65edc7eeb09c6c828b7
tree087830af34fd6bab9403c53b909d3356478739e4
parentd49be41f7f8f0a7b98d755da44ecf021e0d51041
selftests/bpf: Add bpffs preload test.

Add a test that mounts two bpffs instances and checks progs.debug
and maps.debug for sanity data.

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20200819042759.51280-5-alexei.starovoitov@gmail.com
tools/testing/selftests/bpf/prog_tests/test_bpffs.c [new file with mode: 0644]