[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160724011904.GC33568@ast-mbp.thefacebook.com>
Date: Sat, 23 Jul 2016 18:19:05 -0700
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Sargun Dhillon <sargun@...gun.me>
Cc: Daniel Borkmann <daniel@...earbox.net>,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org
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!
Powered by blists - more mailing lists