]> 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)
commita886d93b49a081ee0561b2e54cee2f627a63709a
tree087830af34fd6bab9403c53b909d3356478739e4
parent86d5826c721230efab66fe756b6799edf7f68d60
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]