Skip to contentSkip to conversation

MAINTAINERS: Add stackinit KUnit test to HARDENING

PATCH In review Justin Stitt 2 participants 2 messages Oct 2 Kselftest

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MAINTAINERS: Add stackinit KUnit test to HARDENING

From: Justin Stitt <[email protected]>

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
  [email protected] (open list)

after:

  $ ./scripts/get_maintainer.pl -f lib/tests/stackinit_kunit.c
  Kees Cook <[email protected]> (maintainer:KERNEL HARDENING
  "Gustavo A. R. Silva" <[email protected]> (reviewer:KERNEL HARDENING
  [email protected] (open list:KERNEL HARDENING
  [email protected] (open list)
---
 MAINTAINERS | 1 +
 1 file changed, 1 insertion(+)
MAINTAINERS +1 -0
index 4f72b4ac27ee..019f443af051 100644
@@ -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,

Signature · 1 line
Justin Stitt <[email protected]>
Reviewed-by on v1 1/1
#1 lore raw
Quoted 11 lines · Justin Stitt

From: Justin Stitt <[email protected]>

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
  [email protected] (open list)
Quoted 8 lines

after:

  $ ./scripts/get_maintainer.pl -f lib/tests/stackinit_kunit.c
  Kees Cook <[email protected]> (maintainer:KERNEL HARDENING
  "Gustavo A. R. Silva" <[email protected]> (reviewer:KERNEL HARDENING
  [email protected] (open list:KERNEL HARDENING
  [email protected] (open list)
Quoted 25 lines
---
 MAINTAINERS | 1 +
 1 file changed, 1 insertion(+)
MAINTAINERS +1 -1
index 4f72b4ac27ee..019f443af051 100644
@@ -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 <[email protected]>

Signature · 2 lines
Thanks,
~Nick Desaulniers