Messages in this thread | | | Date | Sat, 23 Jul 2016 18:19:05 -0700 | From | Alexei Starovoitov <> | Subject | Re: [PATCH v4 1/2] bpf: Add bpf_probe_write BPF helper to be called in tracers (kprobes) |
| |
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!
| |