Thread (7 messages) flat view 7 messages, 2 authors, 2017-11-12

Re: [PATCH net-next 3/3 v2] bpf: fix and add test cases for ARG_CONST_SIZE_OR_ZERO semantics change

From: Daniel Borkmann <daniel@iogearbox.net>
Date: 2017-11-12 19:21:01

On 11/12/2017 05:04 PM, Yonghong Song wrote:
Fix a few test cases to allow non-NULL map/packet/stack pointer
with size = 0. Change a few tests using bpf_probe_read to use
bpf_probe_write_user so ARG_CONST_SIZE arg can still be properly
tested. One existing test case already covers size = 0 with non-NULL
packet pointer, so add additional tests so all cases of
size = 0 and 0 <= size <= legal_upper_bound with non-NULL
map/packet/stack pointer are covered.

Signed-off-by: Yonghong Song <redacted>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help