On 10/8/15 10:46 AM, Kees Cook wrote:
samples/bpf/libbpf.h|8 +
> samples/bpf/test_verifier.c | 357
+--
Instead of living in samples/ could these be moved and hooked up to
tools/testing/selftests/ instead?
as a follow up patch. yes. of co
On Wed, Oct 7, 2015 at 10:23 PM, Alexei Starovoitov wrote:
> Add new tests samples/bpf/test_verifier:
>
> unpriv: return pointer
> checks that pointer cannot be returned from the eBPF program
>
> unpriv: add const to pointer
> unpriv: add pointer to pointer
> unpriv: neg pointer
> checks that
Add new tests samples/bpf/test_verifier:
unpriv: return pointer
checks that pointer cannot be returned from the eBPF program
unpriv: add const to pointer
unpriv: add pointer to pointer
unpriv: neg pointer
checks that pointer arithmetic is disallowed
unpriv: cmp pointer with const
unpriv: cmp