Commit fed6a1df authored by Andrii Nakryiko's avatar Andrii Nakryiko Committed by Sasha Levin
Browse files

libbpf: Add missing LIBBPF_API annotation to libbpf_set_memlock_rlim API



[ Upstream commit 93ee1eb8 ]

LIBBPF_API annotation seems missing on libbpf_set_memlock_rlim API, so
add it to make this API callable from libbpf's shared library version.

Fixes: e542f2c4 ("libbpf: Auto-bump RLIMIT_MEMLOCK if kernel needs it for BPF")
Fixes: ab9a5a05 ("libbpf: fix up few libbpf.map problems")
Signed-off-by: default avatarAndrii Nakryiko <andrii@kernel.org>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Acked-by: default avatarEduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/bpf/20240201172027.604869-3-andrii@kernel.org


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 4f4f1e2d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment