Searched hist:b5a36b1e1b138285ea0df34bf96c759e1e30fafd (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/net/bpf/ |
H A D | test_run.c | diff b5a36b1e1b138285ea0df34bf96c759e1e30fafd Mon Dec 03 05:31:23 CST 2018 Lorenz Bauer <lmb@cloudflare.com> 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>
|
/openbmc/linux/include/uapi/linux/ |
H A D | bpf.h | diff b5a36b1e1b138285ea0df34bf96c759e1e30fafd Mon Dec 03 05:31:23 CST 2018 Lorenz Bauer <lmb@cloudflare.com> 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>
|