[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAEf4BzYwJhAcLkOX1uc8_hypr_SoT5A7WnRx-wz8TACWrD9moA@mail.gmail.com>
Date: Thu, 31 Oct 2019 13:08:28 -0700
From: Andrii Nakryiko <andrii.nakryiko@...il.com>
To: Daniel Borkmann <daniel@...earbox.net>
Cc: bpf <bpf@...r.kernel.org>, Networking <netdev@...r.kernel.org>,
Alexei Starovoitov <ast@...nel.org>
Subject: Re: [PATCH bpf-next v2 5/8] bpf: Switch BPF probe insns to bpf_probe_read_kernel
On Wed, Oct 30, 2019 at 6:00 PM Daniel Borkmann <daniel@...earbox.net> wrote:
>
> 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@...earbox.net>
> ---
Acked-by: Andrii Nakryiko <andriin@...com>
> kernel/bpf/core.c | 9 +++++----
> 1 file changed, 5 insertions(+), 4 deletions(-)
>
[...]
Powered by blists - more mailing lists