diff options
author | Kees Cook <kees@kernel.org> | 2024-07-09 17:13:08 -0700 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-07-17 21:05:18 -0700 |
commit | 0b84780134fb02525ef29ddcb88c3d560ba88a9c (patch) | |
tree | b515a63f3d68d7bb7e2b756e69a27149e2ba4816 /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | 53dabce2652fb854eae84609ce9c37429d5d87ba (diff) |
mm/kmemleak: replace strncpy() with strscpy()
Replace the depreciated[1] strncpy() calls with strscpy(). Uses of
object->comm do not depend on the padding side-effect.
Link: https://github.com/KSPP/linux/issues/90 [1]
Link: https://lkml.kernel.org/r/20240710001300.work.004-kees@kernel.org
Signed-off-by: Kees Cook <kees@kernel.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions