Hello! On 11/12/2017 3:00 AM, Yonghong Song wrote:
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 prvious commit which changes ARG_CONST_SIZE_OR_ZERO semantics
Previous.
has details on examples. Signed-off-by: Yonghong Song <[email protected]> Acked-by: Alexei Starovoitov <[email protected]>
[...] MBR, Sergei
