Re: [PATCH] libbpf: Replace strncpy() with strnlen()+memcpy() in skel_map_create()

From: Kees Cook

Date: Wed Mar 25 2026 - 00:15:30 EST


On Tue, Mar 24, 2026 at 09:31:09AM -0700, Alexei Starovoitov wrote:
> And please keep ignoring it.
> It's not broken. Don't fix it.

Okay. I'm confused, though: what's your plan for when strncpy is removed
from the kernel?

--
Kees Cook