Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1682903

Re: [PATCH v2] arm: eBPF JIT compiler

From Shubham Bansal <illusionist.neo@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2] arm: eBPF JIT compiler
Date 2017-07-07 06:50 +0200
Message-ID <u0tnj-7hv-3@gated-at.bofh.it> (permalink)
References (12 earlier) <tVFyN-86y-13@gated-at.bofh.it> <u00Ol-3Tl-1@gated-at.bofh.it> <u017H-3ZA-13@gated-at.bofh.it> <u067n-7f5-5@gated-at.bofh.it> <u0tnj-7hv-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Okay Kees. I will take a look at it.
Best,
Shubham Bansal


On Fri, Jul 7, 2017 at 10:12 AM, Kees Cook <keescook@chromium.org> wrote:
> On Wed, Jul 5, 2017 at 8:49 PM, Shubham Bansal
> <illusionist.neo@gmail.com> wrote:
>> Hi Kees,
>>
>> Problem is my ARM machine don't have clang and iproute2 which is
>> keeping me from testing the bpf tail calls.
>>
>> You should do the following to test it,.
>>
>> 1. tools/testing/selftests/bpf/
>> 2. make
>> 3. sudo ./test_progs
>>
>> And, before testing, you have to do "make headers_install".
>> These tests are for tail calls with the attached patch. If its too
>> much work, Can you please upload your arm image so that I can test it?
>> I just need a good machine.
>
> I've got all this set up now, and it faults during the test:
>
> Unable to handle kernel NULL pointer dereference at virtual address 00000008
> ...
> CPU: 0 PID: 1922 Comm: test_progs Not tainted 4.12.0+ #60
> ...
> PC is at __htab_map_lookup_elem+0x54/0x1f4
>
> I'll see if I can send you this disk image...
>
> -Kees
>
>
> --
> Kees Cook
> Pixel Security

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH v2] arm: eBPF JIT compiler Kees Cook <keescook@chromium.org> - 2017-07-06 00:20 +0200
  Re: [PATCH v2] arm: eBPF JIT compiler Kees Cook <keescook@chromium.org> - 2017-07-06 00:40 +0200
    Re: [PATCH v2] arm: eBPF JIT compiler Shubham Bansal <illusionist.neo@gmail.com> - 2017-07-07 06:50 +0200
    Re: [PATCH v2] arm: eBPF JIT compiler Kees Cook <keescook@chromium.org> - 2017-07-07 06:50 +0200

csiph-web