btf: Support kernel parsing of BTF with layout info

Validate layout if present, but because the kernel must be strict in what it accepts, reject BTF with unsupported kinds, even if they are in the layout information. Signed-off-by: Alan Maguire <alan.maguire@oracle.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20260326145444.2076244-8-alan.maguire@oracle.com


Author Alan Maguire Committer Andrii Nakryiko Date Commit Parent 081677d0
+56 -4
1 changed file
+56 -4
1 changed file