public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] MAINTAINERS: add kernel hardening keyword __counted_by_ptr
@ 2026-04-14 13:09 Thorsten Blum
  2026-04-30 14:43 ` Thorsten Blum
  0 siblings, 1 reply; 2+ messages in thread
From: Thorsten Blum @ 2026-04-14 13:09 UTC (permalink / raw)
  To: Kees Cook, Gustavo A. R. Silva
  Cc: Thorsten Blum, linux-kernel, linux-hardening

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

diff --git a/MAINTAINERS b/MAINTAINERS
index 1126fdd639ad..969460c85ad6 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -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:	kernel-janitors@vger.kernel.org

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] MAINTAINERS: add kernel hardening keyword __counted_by_ptr
  2026-04-14 13:09 [PATCH] MAINTAINERS: add kernel hardening keyword __counted_by_ptr Thorsten Blum
@ 2026-04-30 14:43 ` Thorsten Blum
  0 siblings, 0 replies; 2+ messages in thread
From: Thorsten Blum @ 2026-04-30 14:43 UTC (permalink / raw)
  To: Kees Cook, Gustavo A. R. Silva; +Cc: linux-kernel, linux-hardening

On Tue, Apr 14, 2026 at 03:09:28PM +0200, Thorsten Blum wrote:
> 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>
> ---
>  MAINTAINERS | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 1126fdd639ad..969460c85ad6 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -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:	kernel-janitors@vger.kernel.org

Could you give this another look so that __counted_by_ptr() patches are
also sent to linux-hardening@vger.kernel.org?

Thanks,
Thorsten

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-04-30 14:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-14 13:09 [PATCH] MAINTAINERS: add kernel hardening keyword __counted_by_ptr Thorsten Blum
2026-04-30 14:43 ` Thorsten Blum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox