diff options
| author | Lorenz Bauer <lmb@cloudflare.com> | 2018-12-03 11:31:26 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2018-12-04 08:18:13 -0800 |
| commit | df47fc376df8338fdc9b27a5c9162a08f6e6157c (patch) | |
| tree | 416ce2a6672f6c97c074df80912ec09e2ff0c29c /lib/test_overflow.c | |
| parent | 64a975913b311e5192a76cd10721d4565c9addd1 (diff) | |
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 <lmb@cloudflare.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions
