From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexei Starovoitov Subject: Re: [PATCH RFC v4 net-next 00/26] BPF syscall, maps, verifier, samples, llvm Date: Wed, 13 Aug 2014 11:00:24 -0700 Message-ID: References: <1407916658-8731-1-git-send-email-ast@plumgrid.com> <063D6719AE5E284EB5DD2968C1650D6D174760F3@AcuExch.aculab.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: David Laight , "David S. Miller" , Ingo Molnar , Linus Torvalds , Steven Rostedt , Daniel Borkmann , Chema Gonzalez , Eric Dumazet , Peter Zijlstra , "H. Peter Anvin" , Andrew Morton , Kees Cook , "linux-api@vger.kernel.org" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" To: Andy Lutomirski Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Wed, Aug 13, 2014 at 10:40 AM, Andy Lutomirski wrote: > > But don't you need some kind of detection anyway to handle the case > where something jumps to the middle of the "load 64-bit immediate"? I added few test cases to test_verifier to see that this case is caught and it looks ok, but you got me worried. May be few more checks needed. Thanks!