Skip to contentSkip to conversation

MAINTAINERS: add kernel hardening keyword __counted_by_ptr

PATCH Applied Thorsten Blum 2 participants 3 messages Apr 14 – May 13

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MAINTAINERS: add kernel hardening keyword __counted_by_ptr

In addition to __counted_by, __counted_by_le, and __counted_by_be, also match the keyword __counted_by_ptr.

---
 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
index 1126fdd639ad..969460c85ad6 100644
@@ -13889,7 +13889,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:	[email protected]
#1 lore raw
Quoted 13 lines · Thorsten Blum

In addition to __counted_by, __counted_by_le, and __counted_by_be, also match the keyword __counted_by_ptr.

---
 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +0 -0
index 1126fdd639ad..969460c85ad6 100644

MAINTAINERS F: scripts/Makefile.randstruct · line 13895

Quoted 8 lines
MAINTAINERS +1 -1
@@ -13889,7 +13889,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:	[email protected]

Could you give this another look so that __counted_by_ptr() patches are also sent to [email protected]?

Thanks,
Thorsten