kbuild: Use -fzero-init-padding-bits=all
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 5 repliesIn review
- v11 patch 1 replySuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | stackinit: Add old-style zero-init syntax to struct testslib/ | +3 | 0 replies | |
| 2/3 | stackinit: Add union initialization to selftestslib/ | +103 | 3 replies | |
| 3/3 | kbuild: Use -fzero-init-padding-bits=allscripts/ | +3 | 2 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Nathan Chancellor | Masahiro Yamada |
|---|---|---|
| 1/3 | ||
| 2/3 | ||
| 3/3 | R-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/3] kbuild: Use -fzero-init-padding-bits=all
Hi,
This fixes the union initialization regression introduced by GCC 15, and improves explicit padding initialization for structs.
I can take this via the hardening tree if that's easiest.
-Kees
v2: Add updated stackinit KUnit tests, improve change log, add Reviewed-By
v1: https://lore.kernel.org/lkml/[email protected]/
Kees Cook (3):
stackinit: Add old-style zero-init syntax to struct tests
stackinit: Add union initialization to selftests
kbuild: Use -fzero-init-padding-bits=all
lib/stackinit_kunit.c | 106 +++++++++++++++++++++++++++++++++++++ scripts/Makefile.extrawarn | 3 ++ 2 files changed, 109 insertions(+)
Signature · 1 line
2.34.1