diff options
author | Zhao Hongjiang | 2013-07-04 00:08:28 +0200 |
---|---|---|
committer | Linus Torvalds | 2013-07-04 01:08:02 +0200 |
commit | 30bc30df102b2d0c003d93477e04b97e6c528573 (patch) | |
tree | 47ddf47773fa5335036d994874af629291715fab /kernel/fork.c | |
parent | fs/proc/uptime.c:uptime_proc_show(): use get_monotonic_boottime() (diff) | |
download | kernel-qcow2-linux-30bc30df102b2d0c003d93477e04b97e6c528573.tar.gz kernel-qcow2-linux-30bc30df102b2d0c003d93477e04b97e6c528573.tar.xz kernel-qcow2-linux-30bc30df102b2d0c003d93477e04b97e6c528573.zip |
fs/proc/kcore.c: using strlcpy() instead of strncpy()
For NUL terminated string, set '\0' at the end.
Signed-off-by: Zhao Hongjiang <zhaohongjiang@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/fork.c')
0 files changed, 0 insertions, 0 deletions