[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAEf4Bzauqivy_f2czAwoctHqug0dcSbOpnMTQ7h9rQ5hS=Cefg@mail.gmail.com>
Date: Fri, 25 Oct 2019 15:08:59 -0700
From: Andrii Nakryiko <andrii.nakryiko@...il.com>
To: Daniel Borkmann <daniel@...earbox.net>
Cc: Alexei Starovoitov <ast@...nel.org>, bpf <bpf@...r.kernel.org>,
Networking <netdev@...r.kernel.org>
Subject: Re: [PATCH bpf-next 4/5] bpf, samples: Use bpf_probe_read_user where appropriate
On Fri, Oct 25, 2019 at 1:46 PM Daniel Borkmann <daniel@...earbox.net> wrote:
>
> Use bpf_probe_read_user() helper instead of bpf_probe_read() for samples that
> attach to kprobes probing on user addresses.
>
> Signed-off-by: Daniel Borkmann <daniel@...earbox.net>
> ---
Acked-by: Andrii Nakryiko <andriin@...com>
> samples/bpf/map_perf_test_kern.c | 4 ++--
> samples/bpf/test_map_in_map_kern.c | 4 ++--
> samples/bpf/test_probe_write_user_kern.c | 2 +-
> 3 files changed, 5 insertions(+), 5 deletions(-)
>
[...]
Powered by blists - more mailing lists