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  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Mon, 13 Jul 2020 15:07:28 -0700
From:   Alexei Starovoitov <alexei.starovoitov@...il.com>
To:     Jiri Olsa <jolsa@...nel.org>
Cc:     Alexei Starovoitov <ast@...nel.org>,
        Daniel Borkmann <daniel@...earbox.net>,
        Andrii Nakryiko <andriin@...com>,
        Network Development <netdev@...r.kernel.org>,
        bpf <bpf@...r.kernel.org>
Subject: Re: [PATCH v7 bpf-next 0/9] bpf: Add d_path helper - preparation changes

On Sat, Jul 11, 2020 at 2:53 PM Jiri Olsa <jolsa@...nel.org> wrote:
>
> hi,
> this patchset does preparation work for adding d_path helper,
> which still needs more work, but the initial set of patches
> is ready and useful to have.
>
> This patchset adds:
>   - support to generate BTF ID lists that are resolved during
>     kernel linking and usable within kernel code with following
>     macros:
>
>       BTF_ID_LIST(bpf_skb_output_btf_ids)
>       BTF_ID(struct, sk_buff)
>
>     and access it in kernel code via:
>       extern u32 bpf_skb_output_btf_ids[];
>
>   - resolve_btfids tool that scans elf object for .BTF_ids
>     section and resolves its symbols with BTF ID values
>   - resolving of bpf_ctx_convert struct and several other
>     objects with BTF_ID_LIST
>
> v7 changes:
>   - added more acks [Andrii]
>   - added some name-conflicting entries and fixed resolve_btfids
>     to process them properly [Andrii]
>   - changed bpf_get_task_stack_proto to use BTF_IDS_LIST/BTF_ID
>     macros [Andrii]
>   - fixed selftest build for resolve_btfids test

Applied. Thanks!

Powered by blists - more mailing lists