diff options
author | 2024-07-09 17:13:08 -0700 | |
---|---|---|
committer | 2024-07-17 21:05:18 -0700 | |
commit | 0b84780134fb02525ef29ddcb88c3d560ba88a9c (patch) | |
tree | b515a63f3d68d7bb7e2b756e69a27149e2ba4816 /scripts/generate_rust_analyzer.py | |
parent | mm, page_alloc: put should_fail_alloc_page() back behing CONFIG_FAIL_PAGE_ALLOC (diff) | |
download | linux-rng-0b84780134fb02525ef29ddcb88c3d560ba88a9c.tar.xz linux-rng-0b84780134fb02525ef29ddcb88c3d560ba88a9c.zip |
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions