lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <fadf66fb-1ce5-06eb-d774-cb13219f802b@fb.com> Date: Fri, 15 Feb 2019 01:53:13 +0000 From: Yonghong Song <yhs@...com> To: Andrey Ignatov <rdna@...com>, "netdev@...r.kernel.org" <netdev@...r.kernel.org> CC: "ast@...nel.org" <ast@...nel.org>, "daniel@...earbox.net" <daniel@...earbox.net>, Kernel Team <Kernel-team@...com> Subject: Re: [PATCH bpf-next 2/2] libbpf: Introduce bpf_object__btf On 2/14/19 3:01 PM, Andrey Ignatov wrote: > Add new accessor for bpf_object to get opaque struct btf * from it. > > struct btf * is needed for all operations with BTF and it's present in > bpf_object. The only thing missing is a way to get it. > > Example use-case is to get BTF key_type_id an value_type_id for a map in nit: an => and > bpf_object. It can be done with btf__get_map_kv_tids() but that function > requires struct btf *. > > Similar API can be added for struct btf_ext but no use-case for it yet. > > Signed-off-by: Andrey Ignatov <rdna@...com> Acked-by: Yonghong Song <yhs@...com>
Powered by blists - more mailing lists