From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Rostedt Subject: Re: [PATCH] kernel: move from strlcpy with unused retval to strscpy Date: Fri, 19 Aug 2022 12:23:59 -0400 Message-ID: <20220819122359.050a3432@gandalf.local.home> References: <20220818210202.8227-1-wsa+renesas@sang-engineering.com> <20220818181506.0d838d02@gandalf.local.home> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-ID: Content-Type: text/plain; charset="us-ascii" To: Wolfram Sang Cc: linux-kernel@vger.kernel.org, Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Tejun Heo , Zefan Li , Johannes Weiner , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Namhyung Kim , Pet On Fri, 19 Aug 2022 07:53:51 +0200 Wolfram Sang 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