Re: [PATCH v3 3/3] kernfs: Convert kernfs_path_from_node_locked() from strlcpy() to strscpy()

2023-12-21 Thread Tejun Heo
Hello, On Tue, Dec 12, 2023 at 01:17:40PM -0800, Kees Cook wrote: ... > @@ -127,7 +127,7 @@ static struct kernfs_node *kernfs_common_ancestor(struct > kernfs_node *a, > * > * [3] when @kn_to is %NULL result will be "(null)" > * > - * Return: the length of the full path. If the full length

Re: [PATCH v3 2/3] kernfs: Convert kernfs_name_locked() from strlcpy() to strscpy()

2023-12-21 Thread Tejun Heo
return value ignored > print_page_owner_memcg() > return value ignored > > Link: https://www.kernel.org/doc/html/latest/process/deprecated.html#strlcpy > [1] > Link: https://github.com/KSPP/linux

Re: [PATCH v3 1/3] kernfs: Convert kernfs_walk_ns() from strlcpy() to strscpy()

2023-12-21 Thread Tejun Heo
https://github.com/KSPP/linux/issues/89 [2] > Cc: Greg Kroah-Hartman > Cc: Tejun Heo > Cc: Azeem Shaikh > Link: https://lore.kernel.org/r/20231116192127.1558276-1-keesc...@chromium.org > Signed-off-by: Kees Cook Acked-by: Tejun Heo Thanks. -- tejun