Re: [PATCH 3/3] selftests: add a test for bpf_prog_test_run output size

2018-11-20 Thread Y Song
On Tue, Nov 20, 2018 at 3:35 AM Lorenz Bauer wrote: > > On Sun, 18 Nov 2018 at 05:59, Y Song wrote: > > > > On Fri, Nov 16, 2018 at 12:55 PM Lorenz Bauer wrote: > > > > > > Make sure that bpf_prog_test_run returns the correct length > > > in the size_out argument and that the kernel respects the

Re: [PATCH 3/3] selftests: add a test for bpf_prog_test_run output size

2018-11-20 Thread Lorenz Bauer
On Sun, 18 Nov 2018 at 05:59, Y Song wrote: > > On Fri, Nov 16, 2018 at 12:55 PM Lorenz Bauer wrote: > > > > Make sure that bpf_prog_test_run returns the correct length > > in the size_out argument and that the kernel respects the > > output size hint. > > > > Signed-off-by: Lorenz Bauer > > ---

Re: [PATCH 3/3] selftests: add a test for bpf_prog_test_run output size

2018-11-17 Thread Y Song
On Fri, Nov 16, 2018 at 12:55 PM Lorenz Bauer wrote: > > Make sure that bpf_prog_test_run returns the correct length > in the size_out argument and that the kernel respects the > output size hint. > > Signed-off-by: Lorenz Bauer > --- > tools/testing/selftests/bpf/test_progs.c | 34 +

[PATCH 3/3] selftests: add a test for bpf_prog_test_run output size

2018-11-16 Thread Lorenz Bauer
Make sure that bpf_prog_test_run returns the correct length in the size_out argument and that the kernel respects the output size hint. Signed-off-by: Lorenz Bauer --- tools/testing/selftests/bpf/test_progs.c | 34 1 file changed, 34 insertions(+) diff --git a/tools/tes