[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAEf4BzaeYn4=MTujkGwdiJYgFyXJ7xEpSjW_YSEp=Dxe=8zPnQ@mail.gmail.com>
Date: Thu, 31 Oct 2019 13:10:45 -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 7/8] bpf, testing: Convert prog tests to
probe_read_{user,kernel}{,_str} helper
On Wed, Oct 30, 2019 at 6:00 PM Daniel Borkmann <daniel@...earbox.net> wrote:
>
> Use probe read *_{kernel,user}{,_str}() helpers instead of bpf_probe_read()
> or bpf_probe_read_user_str() for program tests where appropriate.
>
> Signed-off-by: Daniel Borkmann <daniel@...earbox.net>
> ---
Thanks!
Acked-by: Andrii Nakryiko <andriin@...com>
> tools/testing/selftests/bpf/progs/kfree_skb.c | 4 +-
> tools/testing/selftests/bpf/progs/pyperf.h | 67 ++++++++++---------
> .../testing/selftests/bpf/progs/strobemeta.h | 36 +++++-----
> .../selftests/bpf/progs/test_tcp_estats.c | 2 +-
> 4 files changed, 57 insertions(+), 52 deletions(-)
>
[...]
Powered by blists - more mailing lists