summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMaíra Canal <mcanal@igalia.com>2024-11-01 19:54:09 +0300
committerAndrew Morton <akpm@linux-foundation.org>2024-11-12 00:09:43 +0300
commit93c1e57adeb0aa7d3feedeb82ac19845cbe540de (patch)
treebce87b6ef7da05bf6fc8359e29d1376f1b899633 /tools/perf/scripts/python/stackcollapse.py
parent24f9cd195fbc9382ae0ed8b332e6302d1722d8e0 (diff)
downloadlinux-93c1e57adeb0aa7d3feedeb82ac19845cbe540de.tar.xz
mm: huge_memory: use strscpy() instead of strcpy()
Replace strcpy() with strscpy() in mm/huge_memory.c strcpy() has been deprecated because it is generally unsafe, so help to eliminate it from the kernel source. Link: https://github.com/KSPP/linux/issues/88 Link: https://lkml.kernel.org/r/20241101165719.1074234-7-mcanal@igalia.com Signed-off-by: Maíra Canal <mcanal@igalia.com> Reviewed-by: Lance Yang <ioworker0@gmail.com> Cc: Baolin Wang <baolin.wang@linux.alibaba.com> Cc: Barry Song <baohua@kernel.org> Cc: David Hildenbrand <david@redhat.com> Cc: Hugh Dickins <hughd@google.com> Cc: Jonathan Corbet <corbet@lwn.net> Cc: Ryan Roberts <ryan.roberts@arm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions