[PATCH v2 4/4] um: Convert strscpy() usage to 2-argument style

Andy Shevchenko andy at kernel.org
Mon Feb 5 04:57:49 PST 2024


On Mon, Feb 05, 2024 at 01:50:14PM +0100, Geert Uytterhoeven wrote:
> On Mon, Feb 5, 2024 at 1:36 PM Kees Cook <keescook at chromium.org> wrote:

...

> > +#define strscpy(dst, src)      sized_strscpy(dst, src, sizeof(dst))
> 
> (dst), (src)

No need.

-- 
With Best Regards,
Andy Shevchenko





More information about the linux-um mailing list