[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a831c339-1f30-30a2-b83b-4c7bc2500f7c@fb.com>
Date: Thu, 14 May 2020 10:41:31 -0700
From: Yonghong Song <yhs@...com>
To: Daniel Borkmann <daniel@...earbox.net>, <ast@...nel.org>
CC: <bpf@...r.kernel.org>, <netdev@...r.kernel.org>,
<torvalds@...ux-foundation.org>, <mhiramat@...nel.org>,
<brendan.d.gregg@...il.com>, <hch@....de>,
<john.fastabend@...il.com>
Subject: Re: [PATCH bpf 2/3] bpf: add bpf_probe_read_{user, kernel}_str() to
do_refine_retval_range
On 5/14/20 9:16 AM, Daniel Borkmann wrote:
> Given bpf_probe_read{,str}() BPF helpers are now only available under
> CONFIG_ARCH_HAS_NON_OVERLAPPING_ADDRESS_SPACE, we need to add the drop-in
> replacements of bpf_probe_read_{kernel,user}_str() to do_refine_retval_range()
> as well to avoid hitting the same issue as in 849fa50662fbc ("bpf/verifier:
> refine retval R0 state for bpf_get_stack helper").
>
> Signed-off-by: Daniel Borkmann <daniel@...earbox.net>
> Cc: John Fastabend <john.fastabend@...il.com>
> Cc: Yonghong Song <yhs@...com>
LGTM.
Acked-by: Yonghong Song <yhs@...com>
Powered by blists - more mailing lists