aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2025-07-12 19:45:17 +0200
committerAndrew Morton <akpm@linux-foundation.org>2025-07-19 18:59:57 -0700
commit5bd88fef6a0858bc80723de2e63168965054705d (patch)
treebdb26a0f70c64795997ff6a7b418eaec2cd845b4 /tools/perf/scripts/python/task-analyzer.py
parentmm/damon/core: remove damon_callback (diff)
downloadlinux-5bd88fef6a0858bc80723de2e63168965054705d.tar.gz
linux-5bd88fef6a0858bc80723de2e63168965054705d.zip
mm/memfd: replace deprecated strcpy() with memcpy() in alloc_name()
strcpy() is deprecated; use memcpy() instead. Not copying the NUL terminator is safe because strncpy_from_user() would overwrite it anyway by appending uname to the destination buffer at index MFD_NAME_PREFIX_LEN. No functional changes intended. Link: https://github.com/KSPP/linux/issues/88 Link: https://lkml.kernel.org/r/20250712174516.64243-2-thorsten.blum@linux.dev Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Cc: Baolin Wang <baolin.wang@linux.alibaba.com> Cc: Hugh Dickins <hughd@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions