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 PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 15 Jan 2020 14:38:11 -0800 From: Andrii Nakryiko <andrii.nakryiko@...il.com> To: Martin KaFai Lau <kafai@...com> Cc: bpf <bpf@...r.kernel.org>, Alexei Starovoitov <ast@...nel.org>, Daniel Borkmann <daniel@...earbox.net>, David Miller <davem@...emloft.net>, Kernel Team <kernel-team@...com>, Networking <netdev@...r.kernel.org> Subject: Re: [PATCH v2 bpf-next 3/5] libbpf: Expose bpf_find_kernel_btf as a LIBBPF_API On Wed, Jan 15, 2020 at 2:26 PM Martin KaFai Lau <kafai@...com> wrote: > > This patch exposes bpf_find_kernel_btf() as a LIBBPF_API. > It will be used in 'bpftool map dump' in a following patch > to dump a map with btf_vmlinux_value_type_id set. > > bpf_find_kernel_btf() is renamed to libbpf_find_kernel_btf() > and moved to btf.c. As <linux/kernel.h> is included, > some of the max/min type casting needs to be fixed. > > Signed-off-by: Martin KaFai Lau <kafai@...com> > --- Thanks! Acked-by: Andrii Nakryiko <andriin@...com> > tools/lib/bpf/btf.c | 102 ++++++++++++++++++++++++++++++++++++--- > tools/lib/bpf/btf.h | 2 + > tools/lib/bpf/libbpf.c | 93 ++--------------------------------- > tools/lib/bpf/libbpf.map | 1 + > 4 files changed, 102 insertions(+), 96 deletions(-) > [...]
Powered by blists - more mailing lists