Re: [PATCH linux-next] cgroup: use strscpy() is more robust and safer
From: Tejun Heo
Date: Fri Sep 23 2022 - 23:27:32 EST
On Wed, Sep 21, 2022 at 09:35:17AM +0000, cgel.zte@xxxxxxxxx wrote:
> From: ye xingchen <ye.xingchen@xxxxxxxxxx>
>
> The implementation of strscpy() is more robust and safer.
>
> That's now the recommended way to copy NUL terminated strings.
>
> Signed-off-by: ye xingchen <ye.xingchen@xxxxxxxxxx>
Applied to cgroup/for-6.1.
Thanks.
--
tejun