Hello: This patch was applied to bpf/bpf-next.git (master) by Daniel Borkmann <daniel@xxxxxxxxxxxxx>: On Fri, 10 Dec 2021 16:40:43 -0800 you wrote: > strncpy() has a notoriously error-prone semantics which makes GCC > complain about it a lot (and quite often completely completely falsely > at that). Instead of pleasing GCC all the time (-Wno-stringop-truncation > is unfortunately only supported by GCC, so it's a bit too messy to just > enable it in Makefile), add libbpf-internal libbpf_strlcpy() helper > which follows what FreeBSD's strlcpy() does and what most people would > expect from strncpy(): copies up to N-1 first bytes from source string > into destination string and ensures zero-termination afterwards. > > [...] Here is the summary with links: - [bpf-next] libbpf: add sane strncpy alternative and use it internally https://git.kernel.org/bpf/bpf-next/c/9fc205b413b3 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html