[PATCH 0/3] randstruct: gcc-plugin: Remove bogus void member

Mickaël Salaün mic at digikod.net
Tue May 20 15:18:56 UTC 2025


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/

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
> 
> 



More information about the Linux-security-module-archive mailing list