Re: [PATCH bpf-next 1/2] libbpf: stop enforcing kern_version, populate it for users

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

 



On 10/4/19 7:32 AM, Andrii Nakryiko wrote:
>> If we are not going to validate the section should we also skip collect'ing it?
> Well, if user supplied version, we will parse and use it to override
> out prepopulated one, so in that sense we do have validation.
> 
> But I think it's fine just to drop it altogether. Will do in v3.
> 

what about older kernel that still enforce it?
May be populate it in bpf_attr while loading, but
don't check it in elf from libbpf?




[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