mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] MAINTAINERS: Add stackinit KUnit test to HARDENING
@ 2026-10-02 19:27 Justin Stitt
  2026-10-02 20:42 ` Nick Desaulniers
  0 siblings, 1 reply; 2+ messages in thread
From: Justin Stitt @ 2026-10-02 19:27 UTC (permalink / raw)
  To: Nathan Chancellor, Kees Cook, Nick Desaulniers, Bill Wendling
  Cc: linux-hardening, linux-kernel, llvm, linux-kselftest, Justin Stitt

From: Justin Stitt <justinstitt@google.com>

Noticed while preparing a patch to lib/tests/stackinit_kunit.c: the file
is not listed in MAINTAINERS, so get_maintainer.pl does not suggest Kees
or linux-hardening for changes to it, only the catch-all list.

before:
  $ ./scripts/get_maintainer.pl -f lib/tests/stackinit_kunit.c
  linux-kernel@vger.kernel.org (open list)

after:
  $ ./scripts/get_maintainer.pl -f lib/tests/stackinit_kunit.c
  Kees Cook <kees@kernel.org> (maintainer:KERNEL HARDENING
  "Gustavo A. R. Silva" <gustavoars@kernel.org> (reviewer:KERNEL HARDENING
  linux-hardening@vger.kernel.org (open list:KERNEL HARDENING
  linux-kernel@vger.kernel.org (open list)

Signed-off-by: Justin Stitt <justinstitt@google.com>
---
 MAINTAINERS | 1 +
 1 file changed, 1 insertion(+)

diff --git a/MAINTAINERS b/MAINTAINERS
index 4f72b4ac27ee..019f443af051 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -14164,6 +14164,7 @@ F:	include/linux/ucopysize.h
 F:	kernel/configs/hardening.config
 F:	kernel/kstack_erase.c
 F:	lib/tests/randstruct_kunit.c
+F:	lib/tests/stackinit_kunit.c
 F:	lib/tests/usercopy_kunit.c
 F:	mm/usercopy.c
 F:	scripts/Makefile.kstack_erase

---
base-commit: 5e0f8396d4805a3e7f753fa58c8c55f1f3cc2160
change-id: 20261002-maintainers-stackinit-230afe234e5a

Best regards,
--  
Justin Stitt <justinstitt@google.com>


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

* Re: [PATCH] MAINTAINERS: Add stackinit KUnit test to HARDENING
  2026-10-02 19:27 [PATCH] MAINTAINERS: Add stackinit KUnit test to HARDENING Justin Stitt
@ 2026-10-02 20:42 ` Nick Desaulniers
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Desaulniers @ 2026-10-02 20:42 UTC (permalink / raw)
  To: Justin Stitt
  Cc: Nathan Chancellor, Kees Cook, Bill Wendling, linux-hardening,
	linux-kernel, llvm, linux-kselftest

On Fri, Oct 2, 2026 at 12:27 PM Justin Stitt <justinstitt@google.com> wrote:
>
> From: Justin Stitt <justinstitt@google.com>
>
> Noticed while preparing a patch to lib/tests/stackinit_kunit.c: the file
> is not listed in MAINTAINERS, so get_maintainer.pl does not suggest Kees
> or linux-hardening for changes to it, only the catch-all list.
>
> before:
>   $ ./scripts/get_maintainer.pl -f lib/tests/stackinit_kunit.c
>   linux-kernel@vger.kernel.org (open list)
>
> after:
>   $ ./scripts/get_maintainer.pl -f lib/tests/stackinit_kunit.c
>   Kees Cook <kees@kernel.org> (maintainer:KERNEL HARDENING
>   "Gustavo A. R. Silva" <gustavoars@kernel.org> (reviewer:KERNEL HARDENING
>   linux-hardening@vger.kernel.org (open list:KERNEL HARDENING
>   linux-kernel@vger.kernel.org (open list)
>
> Signed-off-by: Justin Stitt <justinstitt@google.com>

Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>

> ---
>  MAINTAINERS | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 4f72b4ac27ee..019f443af051 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -14164,6 +14164,7 @@ F:      include/linux/ucopysize.h
>  F:     kernel/configs/hardening.config
>  F:     kernel/kstack_erase.c
>  F:     lib/tests/randstruct_kunit.c
> +F:     lib/tests/stackinit_kunit.c
>  F:     lib/tests/usercopy_kunit.c
>  F:     mm/usercopy.c
>  F:     scripts/Makefile.kstack_erase
>
> ---
> base-commit: 5e0f8396d4805a3e7f753fa58c8c55f1f3cc2160
> change-id: 20261002-maintainers-stackinit-230afe234e5a
>
> Best regards,
> --
> Justin Stitt <justinstitt@google.com>
>


-- 
Thanks,
~Nick Desaulniers

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

end of thread, other threads:[~2026-10-02 20:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-02 19:27 [PATCH] MAINTAINERS: Add stackinit KUnit test to HARDENING Justin Stitt
2026-10-02 20:42 ` Nick Desaulniers

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

all inboxes | Powered by JetHome®