Re: [PATCH v2 bpf-next 9/9] selftests/bpf: switch sk_lookup selftests to strict SEC("sk_lookup") use

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

 



On 9/20/21 7:43 PM, Andrii Nakryiko wrote:   
> Update "sk_lookup/" definition to be a stand-alone type specifier,
> with backwards-compatible prefix match logic in non-libbpf-1.0 mode.
> 
> Currently in selftests all the "sk_lookup/<whatever>" uses just use
> <whatever> for duplicated unique name encoding, which is redundant as
> BPF program's name (C function name) uniquely and descriptively
> identifies the intended use for such BPF programs.
> 
> With libbpf's SEC_DEF("sk_lookup") definition updated, switch existing
> sk_lookup programs to use "unqualified" SEC("sk_lookup") section names,
> with no random text after it.
> 
> Signed-off-by: Andrii Nakryiko <andrii@xxxxxxxxxx>
> ---
Acked-by: Dave Marchevsky <davemarchevsky@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