Re: [PATCH] tools: gpio: replace strncpy with strscpy

From: Bartosz Golaszewski

Date: Tue May 05 2026 - 07:13:04 EST


On Mon, May 4, 2026 at 11:14 PM Maxwell Doose <m32285159@xxxxxxxxx> wrote:
>
> On Mon, May 4, 2026 at 4:05 PM Lucas <lucasp.linux@xxxxxxxxx> wrote:
> >
> > That's a great suggestion! I would love to try adding strscpy to tools/include/linux/string.h.
> >
> > It might take me a little more time than a simple cleanup as I need to make sure I don't break the tools build, but I'll work on it and send a patch as soon as it's ready.
> >
> > Thanks for the guidance!
> >
> > Best regards, Lucas
> >
>
> Of course, but again, don't send html email or top-post, read the
> mailing list etiquette at https://subspace.kernel.org/etiquette.html.
>
> best regards,
> max

Are you guys two AI bots just talking nonsense to each other? This is
a user-space tool, there's no strscpy() in libc...

Reading this was a waste of two minutes I'm not getting back.

Bart