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


Groups > linux.kernel > #1449035

Re: [PATCH v4 1/2] bpf: Add bpf_probe_write BPF helper to be called in tracers (kprobes)

From Alexei Starovoitov <alexei.starovoitov@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v4 1/2] bpf: Add bpf_probe_write BPF helper to be called in tracers (kprobes)
Date 2016-07-24 03:20 +0200
Message-ID <rYgff-1ri-9@gated-at.bofh.it> (permalink)
References (1 earlier) <rXyed-7U7-3@gated-at.bofh.it> <rXFpo-46k-41@gated-at.bofh.it> <rXSFX-4iU-5@gated-at.bofh.it> <rYaWd-6H3-1@gated-at.bofh.it> <rYfCx-Zy-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, Jul 23, 2016 at 05:39:42PM -0700, Sargun Dhillon wrote:
> The example has been modified to act like a test in the follow up set. It tests 
> for the positive case (Did the helper work or not) as opposed to the negative 
> case (is the helper able to violate the safety constraints we set forth)? I 
> could do that as well, in another patch by mprotecting those pages, or some 
> such. Should I add an additional negative test?

That would be awesome, but doesn't have to be in this patch set.
It can be done as a follow up.

Thanks!

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


Thread

[PATCH v4 1/2] bpf: Add bpf_probe_write BPF helper to be called in  tracers (kprobes) Sargun Dhillon <sargun@sargun.me> - 2016-07-22 03:10 +0200
  Re: [PATCH v4 1/2] bpf: Add bpf_probe_write BPF helper to be called  in tracers (kprobes) Alexei Starovoitov <alexei.starovoitov@gmail.com> - 2016-07-22 04:20 +0200
    Re: [PATCH v4 1/2] bpf: Add bpf_probe_write BPF helper to be called  in tracers (kprobes) Daniel Borkmann <daniel@iogearbox.net> - 2016-07-22 12:00 +0200
      Re: [PATCH v4 1/2] bpf: Add bpf_probe_write BPF helper to be called  in tracers (kprobes) Alexei Starovoitov <alexei.starovoitov@gmail.com> - 2016-07-22 18:10 +0200
      Re: [PATCH v4 1/2] bpf: Add bpf_probe_write BPF helper to be called  in tracers (kprobes) Sargun Dhillon <sargun@sargun.me> - 2016-07-23 02:10 +0200
        Re: [PATCH v4 1/2] bpf: Add bpf_probe_write BPF helper to be called  in tracers (kprobes) Alexei Starovoitov <alexei.starovoitov@gmail.com> - 2016-07-23 21:40 +0200
          Re: [PATCH v4 1/2] bpf: Add bpf_probe_write BPF helper to be called  in tracers (kprobes) Sargun Dhillon <sargun@sargun.me> - 2016-07-24 02:40 +0200
            Re: [PATCH v4 1/2] bpf: Add bpf_probe_write BPF helper to be called  in tracers (kprobes) Alexei Starovoitov <alexei.starovoitov@gmail.com> - 2016-07-24 03:20 +0200

csiph-web