All of lore.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
  2026-05-13 17:15 ` Kees Cook
  0 siblings, 2 replies; 3+ 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] 3+ 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
  2026-05-13 17:15 ` Kees Cook
  1 sibling, 0 replies; 3+ 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] 3+ 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
@ 2026-05-13 17:15 ` Kees Cook
  1 sibling, 0 replies; 3+ messages in thread
From: Kees Cook @ 2026-05-13 17:15 UTC (permalink / raw)
  To: Gustavo A. R. Silva, Thorsten Blum
  Cc: Kees Cook, linux-kernel, linux-hardening

On Tue, 14 Apr 2026 15:09:28 +0200, Thorsten Blum wrote:
> In addition to __counted_by, __counted_by_le, and __counted_by_be, also
> match the keyword __counted_by_ptr.
> 
> 

Applied to for-next/hardening, thanks!

[1/1] MAINTAINERS: add kernel hardening keyword __counted_by_ptr
      https://git.kernel.org/kees/c/e0251b5e07f3

Take care,

-- 
Kees Cook


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

end of thread, other threads:[~2026-05-13 17:15 UTC | newest]

Thread overview: 3+ 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
2026-05-13 17:15 ` Kees Cook

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.