diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2019-11-02 00:18:00 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-11-02 12:39:12 -0700 |
commit | 6e07a6341277a1dbdf5ed0c41921033c234c1635 (patch) | |
tree | 439779300ddbf6452ae0a9ca1e00e6e043d2ebfb /crypto | |
parent | 6ae08ae3dea2cfa03dd3665a3c8475c2d429ef47 (diff) |
bpf: Switch BPF probe insns to bpf_probe_read_kernel
Commit 2a02759ef5f8 ("bpf: Add support for BTF pointers to interpreter")
explicitly states that the pointer to BTF object is a pointer to a kernel
object or NULL. Therefore we should also switch to using the strict kernel
probe helper which is restricted to kernel addresses only when architectures
have non-overlapping address spaces.
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Link: https://lore.kernel.org/bpf/d2b90827837685424a4b8008dfe0460558abfada.1572649915.git.daniel@iogearbox.net
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions