Re: [PATCH bpf] libbpf: Fix implicit memfd_create() for bionic

From: patchwork-bot+netdevbpf
Date: Fri Apr 04 2025 - 12:00:29 EST


Hello:

This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@xxxxxxxxxx>:

On Sun, 30 Mar 2025 21:13:23 +0000 you wrote:
> Since memfd_create() is not consistently available across different
> bionic libc implementations, using memfd_create() directly can break
> some Android builds:
>
> tools/lib/bpf/linker.c:576:7: error: implicit declaration of function 'memfd_create' [-Werror,-Wimplicit-function-declaration]
> 576 | fd = memfd_create(filename, 0);
> | ^
>
> [...]

Here is the summary with links:
- [bpf] libbpf: Fix implicit memfd_create() for bionic
https://git.kernel.org/bpf/bpf-next/c/75011ad69bc5

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html