Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1681905 > unrolled thread
| Started by | Kees Cook <keescook@chromium.org> |
|---|---|
| First post | 2017-07-06 00:20 +0200 |
| Last post | 2017-07-07 06:50 +0200 |
| Articles | 4 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
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
| From | Kees Cook <keescook@chromium.org> |
|---|---|
| Date | 2017-07-06 00:20 +0200 |
| Subject | Re: [PATCH v2] arm: eBPF JIT compiler |
| Message-ID | <u00Ol-3Tl-1@gated-at.bofh.it> |
On Fri, Jun 23, 2017 at 3:39 PM, Shubham Bansal <illusionist.neo@gmail.com> wrote: > Hi Russell,Daniel and Kees, > > I am attaching the latest patch with this mail. It included support > for BPF_CALL | BPF_JMP tested with and without constant blinding on > ARMv7 machine. > Due to the limitation on my machine I can't test the tail call. It > would be a great help if any of you could help me with this. Is this just a matter of running test_bpf? Have you been able to debootstrap a debian chroot for ARMv7? > Its been a long time since this patch is in works, Russell, can you > please help with sending this patch to ARM patch tracker? If some other folks can Ack this, I can throw it at the patch tracker for you. I'll report back on my findings. -Kees -- Kees Cook Pixel Security
[toc] | [next] | [standalone]
| From | Kees Cook <keescook@chromium.org> |
|---|---|
| Date | 2017-07-06 00:40 +0200 |
| Message-ID | <u017H-3ZA-13@gated-at.bofh.it> |
| In reply to | #1681905 |
On Wed, Jul 5, 2017 at 3:11 PM, Kees Cook <keescook@chromium.org> wrote: > On Fri, Jun 23, 2017 at 3:39 PM, Shubham Bansal > <illusionist.neo@gmail.com> wrote: >> Hi Russell,Daniel and Kees, >> >> I am attaching the latest patch with this mail. It included support >> for BPF_CALL | BPF_JMP tested with and without constant blinding on >> ARMv7 machine. >> Due to the limitation on my machine I can't test the tail call. It >> would be a great help if any of you could help me with this. > > Is this just a matter of running test_bpf? If so: Tested-by: Kees Cook <keescook@chromium.org> test_bpf: Summary: 316 PASSED, 0 FAILED, [287/308 JIT'ed] -Kees -- Kees Cook Pixel Security
[toc] | [prev] | [next] | [standalone]
| From | Shubham Bansal <illusionist.neo@gmail.com> |
|---|---|
| Date | 2017-07-07 06:50 +0200 |
| Message-ID | <u0tnj-7hv-3@gated-at.bofh.it> |
| In reply to | #1681922 |
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
[toc] | [prev] | [next] | [standalone]
| From | Kees Cook <keescook@chromium.org> |
|---|---|
| Date | 2017-07-07 06:50 +0200 |
| Message-ID | <u0tnj-7hv-5@gated-at.bofh.it> |
| In reply to | #1681922 |
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
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web