[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250520.Riene6ceesha@digikod.net>
Date: Tue, 20 May 2025 17:18:56 +0200
From: Mickaël Salaün <mic@...ikod.net>
To: Kees Cook <kees@...nel.org>
Cc: Arnd Bergmann <arnd@...db.de>,
"Dr. David Alan Gilbert" <linux@...blig.org>, Mark Brown <broonie@...nel.org>,
WangYuli <wangyuli@...ontech.com>, Günther Noack <gnoack@...gle.com>,
Bill Wendling <morbo@...gle.com>, Andrew Morton <akpm@...ux-foundation.org>,
Nathan Chancellor <nathan@...nel.org>, Nick Desaulniers <nick.desaulniers+lkml@...il.com>,
Justin Stitt <justinstitt@...gle.com>, Petr Mladek <pmladek@...e.com>, David Gow <davidgow@...gle.com>,
Rae Moar <rmoar@...gle.com>, Tamir Duberstein <tamird@...il.com>,
Diego Vieira <diego.daniel.professional@...il.com>, Luis Chamberlain <mcgrof@...nel.org>,
"Gustavo A. R. Silva" <gustavoars@...nel.org>, Paul Moore <paul@...l-moore.com>,
James Morris <jmorris@...ei.org>, "Serge E. Hallyn" <serge@...lyn.com>,
linux-kernel@...r.kernel.org, llvm@...ts.linux.dev, linux-hardening@...r.kernel.org,
linux-security-module@...r.kernel.org
Subject: Re: [PATCH 0/3] randstruct: gcc-plugin: Remove bogus void member
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
>
>
Powered by blists - more mailing lists