summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorXu Panda <xu.panda@zte.com.cn>2023-01-05 15:24:34 +0300
committerHeiko Carstens <hca@linux.ibm.com>2023-01-09 16:34:09 +0300
commita43e3115fbea2f9ba040a183aab300e0abf9cb67 (patch)
tree2cb3f31f5456440889910297273a10463557766a /tools/perf/scripts/python/syscall-counts.py
parentbeb060ed20d5d5a54754cf78c38731a6a5cb0f18 (diff)
downloadlinux-a43e3115fbea2f9ba040a183aab300e0abf9cb67.tar.xz
s390/zcrypt: use strscpy() to instead of strncpy()
The implementation of strscpy() is more robust and safer. That's now the recommended way to copy NUL-terminated strings. Signed-off-by: Xu Panda <xu.panda@zte.com.cn> Signed-off-by: Yang Yang <yang.yang29@zte.com.cn> Link: https://lore.kernel.org/r/202301052024349365834@zte.com.cn Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions