[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b286cf77-df95-30f1-7e3c-a478c2107bbc@cogentembedded.com>
Date: Sun, 12 Nov 2017 14:20:06 +0300
From: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
To: Yonghong Song <yhs@...com>, ast@...com, daniel@...earbox.net,
netdev@...r.kernel.org
Cc: kernel-team@...com
Subject: Re: [PATCH net-next 2/3] bpf: change helper bpf_probe_read arg2 type
to ARG_CONST_SIZE_OR_ZERO
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 <yhs@...com>
> Acked-by: Alexei Starovoitov <ast@...nel.org>
[...]
MBR, Sergei
Powered by blists - more mailing lists