[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAADnVQJAs882pt4AH4CTn_2m6tdkSNVXHVvGLQE3ppm2CoA1ug@mail.gmail.com>
Date: Sun, 15 Dec 2019 16:56:10 -0800
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Andrii Nakryiko <andriin@...com>
Cc: bpf <bpf@...r.kernel.org>,
Network Development <netdev@...r.kernel.org>,
Alexei Starovoitov <ast@...com>,
Daniel Borkmann <daniel@...earbox.net>,
Andrii Nakryiko <andrii.nakryiko@...il.com>,
Kernel Team <kernel-team@...com>
Subject: Re: [PATCH bpf-next 0/2] CO-RE relocation support for flexible arrays
On Sat, Dec 14, 2019 at 11:09 PM Andrii Nakryiko <andriin@...com> wrote:
>
> Add support for flexible array accesses in a relocatable manner in BPF CO-RE.
> It's a typical pattern in C, and kernel in particular, to provide
> a fixed-length struct with zero-sized or dimensionless array at the end. In
> such cases variable-sized array contents follows immediately after the end of
> a struct. This patch set adds support for such access pattern by allowing
> accesses to such arrays.
>
> Patch #1 adds libbpf support. Patch #2 adds few test cases for validation.
Applied. Thanks
Powered by blists - more mailing lists