commit | c5a237a4db21ca7a28518c994def39d7bd62a0d1 | [log] [tgz] |
---|---|---|
author | Ilya Leoshkevich <iii@linux.ibm.com> | Wed Feb 15 00:12:18 2023 +0100 |
committer | Andrii Nakryiko <andrii@kernel.org> | Thu Feb 16 15:32:46 2023 -0800 |
tree | ee9417fd32124f8804f8f11ee7f1ac988891dfbc | |
parent | c0ca277bb8bc43152d2b2fa60b47a1e1d609da45 [diff] |
selftests/bpf: Use bpf_{btf,link,map,prog}_get_info_by_fd() Use the new type-safe wrappers around bpf_obj_get_info_by_fd(). Fix a prog/map mixup in prog_holds_map(). Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20230214231221.249277-6-iii@linux.ibm.com