From 886d518ca9a6b433736f74723813d8917e407f40 Mon Sep 17 00:00:00 2001
From: Kees Cook <kees@kernel.org>
Date: Sun, 22 Sep 2024 16:14:12 -0700
Subject: [PATCH] MAINTAINERS: Add unsafe_memcpy() to the FORTIFY review list

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 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/MAINTAINERS b/MAINTAINERS
index 36c0af94cf086..3a29f123e1be3 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -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
-- 
GitLab