randstruct: gcc-plugin: Remove bogus void member
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | randstruct: gcc-plugin: Remove bogus void memberscripts/ | +1 | 0 replies | |
| 2/3 | lib/tests: Add randstruct KUnit testMAINTAINERS lib/ lib/ +1 more | +293 | 3 replies | |
| 3/3 | Revert "hardening: Disable GCC randstruct for COMPILE_TEST"security/ | +1 | 5 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | David Gow |
|---|---|
| 1/3 | |
| 2/3 | A-b |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] randstruct: gcc-plugin: Remove bogus void member
Hi,
Okay, I've tracked down the problem with the randstruct GCC plugin, and written a KUnit test to validate behaviors. This lets us add it back the COMPILE_TEST builds.
No need for https://lore.kernel.org/all/[email protected]/
-Kees
Kees Cook (3):
randstruct: gcc-plugin: Remove bogus void member lib/tests: Add randstruct KUnit test
Revert "hardening: Disable GCC randstruct for COMPILE_TEST"
MAINTAINERS | 1 + lib/Kconfig.debug | 8 + lib/tests/Makefile | 1 + lib/tests/randstruct_kunit.c | 283 ++++++++++++++++++ scripts/gcc-plugins/randomize_layout_plugin.c | 18 +- security/Kconfig.hardening | 2 +- 6 files changed, 295 insertions(+), 18 deletions(-) create mode 100644 lib/tests/randstruct_kunit.c
Signature · 1 line
2.34.1