diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2016-04-13 00:10:54 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-14 21:40:42 -0400 |
commit | 3f2050e20e6f3a762eb08397db651dcec9498998 (patch) | |
tree | 8fe6af71ebb2dca7862b47c7514e27f2a7e12da3 /drivers/fpga | |
parent | 02413cabd6b67f1444f153ea85d44076deae2056 (diff) | |
download | op-kernel-dev-3f2050e20e6f3a762eb08397db651dcec9498998.zip op-kernel-dev-3f2050e20e6f3a762eb08397db651dcec9498998.tar.gz |
bpf, samples: add test cases for raw stack
This adds test cases mostly around ARG_PTR_TO_RAW_STACK to check the
verifier behaviour.
[...]
#84 raw_stack: no skb_load_bytes OK
#85 raw_stack: skb_load_bytes, no init OK
#86 raw_stack: skb_load_bytes, init OK
#87 raw_stack: skb_load_bytes, spilled regs around bounds OK
#88 raw_stack: skb_load_bytes, spilled regs corruption OK
#89 raw_stack: skb_load_bytes, spilled regs corruption 2 OK
#90 raw_stack: skb_load_bytes, spilled regs + data OK
#91 raw_stack: skb_load_bytes, invalid access 1 OK
#92 raw_stack: skb_load_bytes, invalid access 2 OK
#93 raw_stack: skb_load_bytes, invalid access 3 OK
#94 raw_stack: skb_load_bytes, invalid access 4 OK
#95 raw_stack: skb_load_bytes, invalid access 5 OK
#96 raw_stack: skb_load_bytes, invalid access 6 OK
#97 raw_stack: skb_load_bytes, large access OK
Summary: 98 PASSED, 0 FAILED
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/fpga')
0 files changed, 0 insertions, 0 deletions