Re: [RFC PATCH bpf-next v4 5/7] bpf: restrict use of peek/push/pop

2018-10-04 Thread Alexei Starovoitov
On Thu, Oct 04, 2018 at 07:12:49PM +0200, Mauricio Vasquez B wrote: > Restrict the use of peek, push and pop helpers only to queue and stack > maps. > > Signed-off-by: Mauricio Vasquez B > --- > kernel/bpf/verifier.c | 14 ++ > 1 file changed, 14 insertions(+) > > diff --git a/ker

[RFC PATCH bpf-next v4 5/7] bpf: restrict use of peek/push/pop

2018-10-04 Thread Mauricio Vasquez B
Restrict the use of peek, push and pop helpers only to queue and stack maps. Signed-off-by: Mauricio Vasquez B --- kernel/bpf/verifier.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/kernel/bpf/verifier.c b/kernel/bpf/verifier.c index 489667f93061..8b1f1b348782 100644 ---