]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0177ea3481fa2af028172e5c822fce80000eb428
treeacf9f59186489d8313ae416c3bc10b3e6bf97b1a
parentf53ec1c0b3727fbdc4adfe11dfa76b1b5dec3fef
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