selftests/bpf: variable offset negative tests
authorEdward Cree <ecree@solarflare.com>
Mon, 7 Aug 2017 14:29:51 +0000 (15:29 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Aug 2017 00:51:35 +0000 (17:51 -0700)
commit69c4e8ada616ce5ad4e37d6acca851d648dbdfa9
tree67cea8f40e147278ce13b4804474b7b22e42d651
parentf999d64c346c0154e7ed4beb0eba7d2eed422a34
selftests/bpf: variable offset negative tests

Variable ctx accesses and stack accesses aren't allowed, because we can't
 determine what type of value will be read.

Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/bpf/test_verifier.c