]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
MAINTAINERS: add kernel hardening keyword __counted_by_ptr
authorThorsten Blum <thorsten.blum@linux.dev>
Tue, 14 Apr 2026 13:09:28 +0000 (15:09 +0200)
committerKees Cook <kees@kernel.org>
Wed, 13 May 2026 17:14:23 +0000 (10:14 -0700)
In addition to __counted_by, __counted_by_le, and __counted_by_be, also
match the keyword __counted_by_ptr.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://patch.msgid.link/20260414130926.312094-3-thorsten.blum@linux.dev
Signed-off-by: Kees Cook <kees@kernel.org>
MAINTAINERS

index 882214b0e7db53bb8cc8e75b5d2269ee0591ea20..2c486ca11cf831b26964167d618dc223604d517b 100644 (file)
@@ -13928,7 +13928,7 @@ F:      scripts/Makefile.randstruct
 F:     security/Kconfig.hardening
 K:     \b(add|choose)_random_kstack_offset\b
 K:     \b__check_(object_size|heap_object)\b
-K:     \b__counted_by(_le|_be)?\b
+K:     \b__counted_by(_le|_be|_ptr)?\b
 
 KERNEL JANITORS
 L:     kernel-janitors@vger.kernel.org