diff options
author | Daniel Borkmann | 2020-05-15 12:11:17 +0200 |
---|---|---|
committer | Alexei Starovoitov | 2020-05-15 08:10:36 -0700 |
commit | 47cc0ed574abcbbde0cf143ddb21a0baed1aa2df (patch) | |
tree | b8872b7cca31323beb60b824bbd073bd5b34197c /crypto | |
parent | 0ebeea8ca8a4d1d453ad299aef0507dab04f6e8d (diff) |
bpf: Add bpf_probe_read_{user, kernel}_str() to do_refine_retval_range
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@iogearbox.net>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20200515101118.6508-3-daniel@iogearbox.net
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions