Re: [PATCH] kernel: move from strlcpy with unused retval to strscpy
From: Steven Rostedt
Date: Fri Aug 19 2022 - 13:04:58 EST
On Fri, 19 Aug 2022 07:53:51 +0200
Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx> wrote:
> > But in my cases I actually do trust the source string. They are all
>
> The ultimate goal is to remove strlcpy entirely. My motivation is to get
> rid of the extra work for maintainers that they need to ensure that the
> author of a patch paid attention to the detail that the source string
> must be trusted.
After reading Linus's rant, I figured as much.
-- Steve