Files
Linux/kernel
Yonghong Song 9c019e2bc4 bpf: change helper bpf_probe_read arg2 type to ARG_CONST_SIZE_OR_ZERO
The helper bpf_probe_read arg2 type is changed
from ARG_CONST_SIZE to ARG_CONST_SIZE_OR_ZERO to permit
size-0 buffer. Together with newer ARG_CONST_SIZE_OR_ZERO
semantics which allows non-NULL buffer with size 0,
this allows simpler bpf programs with verifier acceptance.
The previous commit which changes ARG_CONST_SIZE_OR_ZERO semantics
has details on examples.

Signed-off-by: Yonghong Song <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Acked-by: Daniel Borkmann <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
2017-11-14 16:20:03 +09:00
..
2017-11-09 00:07:56 +01:00
…
2017-09-05 09:46:59 -04:00
…
…
…
…
…
…
…
…
…
…
…
2017-08-21 12:47:31 -07:00
…
…
…
…
2017-09-08 18:26:48 -07:00
…
…
…
…
…
…