aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/prog.c
diff options
context:
space:
mode:
authorLorenz Bauer <[email protected]>2018-12-03 11:31:26 +0000
committerAlexei Starovoitov <[email protected]>2018-12-04 16:18:13 +0000
commitdf47fc376df8338fdc9b27a5c9162a08f6e6157c (patch)
tree416ce2a6672f6c97c074df80912ec09e2ff0c29c /tools/bpf/bpftool/prog.c
parentlibbpf: add bpf_prog_test_run_xattr (diff)
downloadkernel-df47fc376df8338fdc9b27a5c9162a08f6e6157c.tar.gz
kernel-df47fc376df8338fdc9b27a5c9162a08f6e6157c.zip
selftests: add a test for bpf_prog_test_run_xattr
Make sure that bpf_prog_test_run_xattr returns the correct length and that the kernel respects the output size hint. Also check that errno indicates ENOSPC if there is a short output buffer given. Signed-off-by: Lorenz Bauer <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions