]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
libbpf: make libbpf_errno.c into more generic libbpf_utils.c
authorAndrii Nakryiko <andrii@kernel.org>
Wed, 1 Oct 2025 17:13:22 +0000 (10:13 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 1 Oct 2025 22:27:24 +0000 (15:27 -0700)
commit44d42bd80804d117fd83b849820e26dafd25a5f9
tree34c36b940ced8f9a97d3b40e1a6eb2abfdbb5045
parenta1aca22d264cdca5b20934a2413951ea7d73c594
libbpf: make libbpf_errno.c into more generic libbpf_utils.c

Libbpf is missing one convenient place to put common "utils"-like code
that is generic and usable from multiple places. Use libbpf_errno.c as
the base for more generic libbpf_utils.c.

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20251001171326.3883055-2-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Eduard Zingerman <eddyz87@gmail.com>
tools/lib/bpf/Build
tools/lib/bpf/libbpf_utils.c [moved from tools/lib/bpf/libbpf_errno.c with 100% similarity]