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  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Tue, 28 Apr 2020 17:37:15 -0700
From:   Alexei Starovoitov <alexei.starovoitov@...il.com>
To:     Andrii Nakryiko <andriin@...com>
Cc:     bpf@...r.kernel.org, netdev@...r.kernel.org, ast@...com,
        daniel@...earbox.net, toke@...hat.com, andrii.nakryiko@...il.com,
        kernel-team@...com
Subject: Re: [PATCH v3 bpf-next 0/3] Add BTF-defined map-in-map support to
 libbpf

On Tue, Apr 28, 2020 at 05:27:36PM -0700, Andrii Nakryiko wrote:
> This patch set teaches libbpf how to declare and initialize ARRAY_OF_MAPS and
> HASH_OF_MAPS maps. See patch #3 for all the details.
> 
> Patch #1 refactors parsing BTF definition of map to re-use it cleanly for
> inner map definition parsing.
> 
> Patch #2 refactors map creation and destruction logic for reuse. It also fixes
> existing bug with not closing successfully created maps when bpf_object map
> creation overall fails.
> 
> Patch #3 adds support for an extension of BTF-defined map syntax, as well as
> parsing, recording, and use of relocations to allow declaratively initialize
> outer maps with references to inner maps.
> 
> v1->v2:
>   - rename __inner to __array (Alexei).

Applied, Thanks

Powered by blists - more mailing lists