Re: [PATCH v5] libbpf: Use strscpy() in kernel code for skel_map_create()

From: patchwork-bot+netdevbpf

Date: Wed May 13 2026 - 14:10:49 EST


Hello:

This patch was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@xxxxxxxxxx>:

On Tue, 12 May 2026 22:08:07 -0700 you wrote:
> Linux has deprecated[1] strncpy(), and the use in skel_map_create()
> is best replaced with strscpy(). Since we still need to build this
> file in userspace, leave the strncpy() in place in that case. This
> is the last use of strncpy() in the kernel.
>
> Link: https://github.com/KSPP/linux/issues/90 [1]
> Signed-off-by: Kees Cook <kees@xxxxxxxxxx>
>
> [...]

Here is the summary with links:
- [v5] libbpf: Use strscpy() in kernel code for skel_map_create()
https://git.kernel.org/bpf/bpf-next/c/74a9bb761a43

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