Re: [PATCH bpf-next v3 3/8] bpftool: Use bpf_{btf,link,map,prog}_get_info_by_fd()

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

 



2023-02-15 00:12 UTC+0100 ~ Ilya Leoshkevich <iii@xxxxxxxxxxxxx>
> Use the new type-safe wrappers around bpf_obj_get_info_by_fd().
> 
> Split the bpf_obj_get_info_by_fd() call in build_btf_type_table() in
> two, since knowing the type helps with the Memory Sanitizer.
> 
> Improve map_parse_fd_and_info() type safety by using
> struct bpf_map_info * instead of void * for info.
> 
> Signed-off-by: Ilya Leoshkevich <iii@xxxxxxxxxxxxx>

This version looks good to me, thank you

Reviewed-by: Quentin Monnet <quentin@xxxxxxxxxxxxx>




[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