samples/bpf: use bpf_prog_query() interface
authorAlexei Starovoitov <ast@fb.com>
Tue, 3 Oct 2017 05:50:28 +0000 (22:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Oct 2017 23:05:06 +0000 (16:05 -0700)
commitdfc069998ebb010f910dfec379dab4f44d331980
treeacf9f59186489d8313ae416c3bc10b3e6bf97b1a
parent5d0cbf9b6c11964bf2f4041a5b0b6f81cb169736
samples/bpf: use bpf_prog_query() interface

use BPF_PROG_QUERY command to strengthen test coverage

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
samples/bpf/test_cgrp2_attach2.c