Re: [PATCH] kernel: move from strlcpy with unused retval to strscpy
From: Steven Rostedt <rostedt@goodmis.org>
Date: 2022-08-19 17:04:58
Also in:
bpf, linux-perf-users, lkml
From: Steven Rostedt <rostedt@goodmis.org>
Date: 2022-08-19 17:04:58
Also in:
bpf, linux-perf-users, lkml
On Fri, 19 Aug 2022 07:53:51 +0200 Wolfram Sang [off-list ref] wrote:
quoted
But in my cases I actually do trust the source string. They are allThe 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