Lorenz Bauer b5a36b1e1b bpf: respect size hint to BPF_PROG_TEST_RUN if present
Use data_size_out as a size hint when copying test output to user space.
ENOSPC is returned if the output buffer is too small.
Callers which so far did not set data_size_out are not affected.

Signed-off-by: Lorenz Bauer <lmb@cloudflare.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2018-12-04 08:18:13 -08:00
..
2018-10-25 06:50:48 -07:00
2018-11-09 06:30:44 -06:00
2018-10-26 07:38:19 -07:00
2018-10-22 23:26:37 +02:00
2018-10-08 12:57:34 +02:00