[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5c9eb47a-387f-9e84-499a-ffc704ea2ffe@iogearbox.net>
Date: Sun, 12 Nov 2017 20:20:42 +0100
From: Daniel Borkmann <daniel@...earbox.net>
To: Yonghong Song <yhs@...com>, ast@...com, netdev@...r.kernel.org
Cc: kernel-team@...com
Subject: Re: [PATCH net-next 2/3 v2] bpf: change helper bpf_probe_read arg2
type to ARG_CONST_SIZE_OR_ZERO
On 11/12/2017 05:04 PM, 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 previous commit which changes ARG_CONST_SIZE_OR_ZERO semantics
> has details on examples.
>
> Signed-off-by: Yonghong Song <yhs@...com>
> Acked-by: Alexei Starovoitov <ast@...nel.org>
Acked-by: Daniel Borkmann <daniel@...earbox.net>
Powered by blists - more mailing lists