diff options
author | ye xingchen <ye.xingchen@zte.com.cn> | 2022-09-21 11:35:17 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2022-09-24 05:27:02 +0200 |
commit | 8619e94d3be376bb5e8f20988c0e6e3309d2b09a (patch) | |
tree | b969cd1ce57e3b2c6730d2c3e2a7071fa11bbd56 /mm/memcontrol.c | |
parent | iocost_monitor: reorder BlkgIterator (diff) | |
download | linux-8619e94d3be376bb5e8f20988c0e6e3309d2b09a.tar.xz linux-8619e94d3be376bb5e8f20988c0e6e3309d2b09a.zip |
cgroup: use strscpy() is more robust and safer
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@zte.com.cn>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'mm/memcontrol.c')
0 files changed, 0 insertions, 0 deletions