Re: [Potential Spoof] [PATCH bpf-next] libbpf: split BTF presence checks into libbpf- and kernel-specific parts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 12, 2020 at 11:50:33AM -0700, Andrii Nakryiko wrote:
> Needs for application BTF being present differs between user-space libbpf needs and kernel
Nit. This line looks too long for commit message.

> needs. Currently, BTF is mandatory only in kernel only when BPF application is
> using STRUCT_OPS. While libbpf itself relies more heavily on presense of BTF:
>   - for BTF-defined maps;
>   - for Kconfig externs;
>   - for STRUCT_OPS as well.
> 
> Thus, checks for presence and validness of bpf_object's BPF needs to be
> performed separately, which is patch does.
Acked-by: Martin KaFai Lau <kafai@xxxxxx>



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux