selftests/bpf: add test for BPF flow dissector in the root namespace
authorStanislav Fomichev <sdf@google.com>
Mon, 7 Oct 2019 16:21:03 +0000 (09:21 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 8 Oct 2019 03:16:33 +0000 (20:16 -0700)
commit1d9626dc08bf0f5c6932b98e0f4dc5d6b305786f
treea20d775996eee47d44f32888ab7cece80a115885
parenta11c397c43d5b27491aa2f36276713cf151a4735
selftests/bpf: add test for BPF flow dissector in the root namespace

Make sure non-root namespaces get an error if root flow dissector is
attached.

Cc: Petar Penkov <ppenkov@google.com>
Acked-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Stanislav Fomichev <sdf@google.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/test_flow_dissector.sh