Re: [PATCH bpf 2/2] bpf: test_verifier, test for lookup on queue/stack maps

2018-11-28 Thread Prashant Bhole
On 11/28/2018 10:06 PM, Mauricio Vasquez wrote: On 11/28/18 3:45 AM, Daniel Borkmann wrote: On 11/28/2018 08:51 AM, Prashant Bhole wrote: This patch adds tests to check whether bpf verifier prevents lookup on queue/stack maps Signed-off-by: Prashant Bhole ---   tools/testing/selftests/bpf

Re: [PATCH bpf 2/2] bpf: test_verifier, test for lookup on queue/stack maps

2018-11-28 Thread Mauricio Vasquez
On 11/28/18 3:45 AM, Daniel Borkmann wrote: On 11/28/2018 08:51 AM, Prashant Bhole wrote: This patch adds tests to check whether bpf verifier prevents lookup on queue/stack maps Signed-off-by: Prashant Bhole --- tools/testing/selftests/bpf/test_verifier.c | 52 + 1 fil

Re: [PATCH bpf 2/2] bpf: test_verifier, test for lookup on queue/stack maps

2018-11-28 Thread Daniel Borkmann
On 11/28/2018 08:51 AM, Prashant Bhole wrote: > This patch adds tests to check whether bpf verifier prevents lookup > on queue/stack maps > > Signed-off-by: Prashant Bhole > --- > tools/testing/selftests/bpf/test_verifier.c | 52 + > 1 file changed, 52 insertions(+) > > diff

[PATCH bpf 2/2] bpf: test_verifier, test for lookup on queue/stack maps

2018-11-27 Thread Prashant Bhole
This patch adds tests to check whether bpf verifier prevents lookup on queue/stack maps Signed-off-by: Prashant Bhole --- tools/testing/selftests/bpf/test_verifier.c | 52 + 1 file changed, 52 insertions(+) diff --git a/tools/testing/selftests/bpf/test_verifier.c b/tools/te