From: Alexei Starovoitov Date: Mon, 16 Dec 2019 00:53:51 +0000 (-0800) Subject: Merge branch 'support-flex-arrays' X-Git-Tag: Ubuntu-5.10.0-12.13~3648^2~199^2~32 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=0849e1028088fb9e3f1de577106b89a513ba986e;p=mirror_ubuntu-hirsute-kernel.git Merge branch 'support-flex-arrays' Andrii Nakryiko says: ==================== 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. ==================== Signed-off-by: Alexei Starovoitov --- 0849e1028088fb9e3f1de577106b89a513ba986e