]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
MAINTAINERS: Add unsafe_memcpy() to the FORTIFY review list
authorKees Cook <kees@kernel.org>
Sun, 22 Sep 2024 23:14:12 +0000 (16:14 -0700)
committerKees Cook <kees@kernel.org>
Sun, 22 Sep 2024 23:14:12 +0000 (16:14 -0700)
Usually it's possible to avoid adding an unsafe_memcpy() uses, so give
the FORTIFY reviewers a chance to help avoid lying to the compiler about
the destination buffer's type/size/etc.

Signed-off-by: Kees Cook <kees@kernel.org>
---

MAINTAINERS

index 36c0af94cf0861904ddb6922bb0405b353fd33b6..3a29f123e1be3b5ba20298a597b37ff314143318 100644 (file)
@@ -8772,6 +8772,7 @@ F:        include/linux/fortify-string.h
 F:     lib/fortify_kunit.c
 F:     lib/memcpy_kunit.c
 F:     lib/test_fortify/*
+K:     \bunsafe_memcpy\b
 K:     \b__NO_FORTIFY\b
 
 FPGA DFL DRIVERS