bpf: add test cases to bpf selftests to cover all access tests
authorDaniel Borkmann <daniel@iogearbox.net>
Sat, 21 Oct 2017 00:34:23 +0000 (02:34 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 21 Oct 2017 23:56:09 +0000 (00:56 +0100)
commitb37242c773b21edcd566e3bf995fb91d06b9537a
tree094fc50d34225194618797023ee25e65413a5e0d
parent0fd4759c5515b7f2297d7fee5c45e5d9dd733001
bpf: add test cases to bpf selftests to cover all access tests

Lets add test cases to cover really all possible direct packet
access tests for good/bad access cases so we keep tracking them.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/bpf/test_verifier.c