lkml.org 
[lkml]   [2021]   [Nov]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: RFC for a new string-copy function, using mixtures of strlcpy and strscpy
On Mon, Nov 08, 2021 at 08:46:01AM +0530, Ajay Garg wrote:
> Hello everyone.
>
> I recently came across the functions strlcpy and strscpy, and it seems
> something is missing/unclean.
>
> This email is a RFC for another function, by the name "strlscpy".

Wait, why? We have recently added new string copy functions to resolve
the type of issues you have pointed out. The kernel is not yet
converted to use them, so why add yet-another-function that also is not
used?

I think you should work with the functions we have _first_ and help
convert the kernel to use them, before adding another one please.

thanks,

greg k-h

\
 
 \ /
  Last update: 2021-11-08 13:24    [W:0.786 / U:2.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site