Re: [PATCH 0/3] randstruct: gcc-plugin: Remove bogus void member
From: Mickaël Salaün <mic@digikod.net>
Date: 2025-05-20 15:19:00
Also in:
linux-hardening, lkml, llvm
From: Mickaël Salaün <mic@digikod.net>
Date: 2025-05-20 15:19:00
Also in:
linux-hardening, lkml, llvm
On Sat, Apr 26, 2025 at 06:38:32PM -0700, Kees Cook wrote:
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/20250421000854.work.572-kees@kernel.org/ (local)
Hi, What is the status of this patch series? Do you plan to send it for v6.15?
-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 -- 2.34.1