On Fri, Oct 4, 2019 at 10:07 PM Alexei Starovoitov <a...@kernel.org> wrote:
>
> Pointer to BTF object is a pointer to kernel object or NULL.
> The memory access in the interpreter has to be done via probe_kernel_read
> to avoid page faults.
>
> Signed-off-by: Alexei Starovoitov <a...@kernel.org>
> ---

LGTM.

Acked-by: Andrii Nakryiko <andr...@fb.com>

>  include/linux/filter.h |  3 +++
>  kernel/bpf/core.c      | 19 +++++++++++++++++++
>  kernel/bpf/verifier.c  |  8 ++++++++
>  3 files changed, 30 insertions(+)
>

[...]

Reply via email to