lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6b0aaefe-aca1-f0d6-fbb1-406456a017eb@fb.com>
Date:   Thu, 16 Sep 2021 15:58:19 -0700
From:   Yonghong Song <yhs@...com>
To:     Hou Tao <houtao1@...wei.com>, Alexei Starovoitov <ast@...nel.org>
CC:     Daniel Borkmann <daniel@...earbox.net>,
        Andrii Nakryiko <andrii@...nel.org>,
        Martin KaFai Lau <kafai@...com>,
        Song Liu <songliubraving@...com>, <bpf@...r.kernel.org>,
        <netdev@...r.kernel.org>
Subject: Re: [PATCH 0/3] add support for writable bare tracepoint



On 9/16/21 6:55 AM, Hou Tao wrote:
> Hi,
> 
> The patchset series supports writable context for bare tracepoint.
> 
> The main idea comes from patchset "writable contexts for bpf
> raw tracepoints" [1], but it only supports normal tracepoint
> with associated trace event under tracefs. Bare tracepoint
> is more light-weight and doesn't have the ABI burden of
> normal tracepoint, so add support for it in BPF.

Just curious that do you have an actual use case for this?
If that is the case, it would be good that you stated in
the cover letter and relevant commit message.

Also, please add bpf-next to the tag like [PATCH bpf-next x/x]
to make it clear that the patch set is for bpf-next.

> 
> Any comments are welcome.
> 
> [1]: https://lore.kernel.org/lkml/20190426184951.21812-1-mmullins@fb.com
> 
> Hou Tao (3):
>    bpf: support writable context for bare tracepoint
>    libbpf: support detecting and attaching of writable tracepoint program
>    bpf/selftests: add test for writable bare tracepoint
> 
>   include/trace/bpf_probe.h                     | 19 +++++++--
>   tools/lib/bpf/libbpf.c                        |  4 ++
>   .../bpf/bpf_testmod/bpf_testmod-events.h      | 15 +++++++
>   .../selftests/bpf/bpf_testmod/bpf_testmod.c   | 10 +++++
>   .../selftests/bpf/bpf_testmod/bpf_testmod.h   |  5 +++
>   .../selftests/bpf/prog_tests/module_attach.c  | 40 ++++++++++++++++++-
>   .../selftests/bpf/progs/test_module_attach.c  | 14 +++++++
>   7 files changed, 101 insertions(+), 6 deletions(-)
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ