Re: [PATCH] randstruct: disable Clang 15 support

From: Kees Cook
Date: Wed Feb 08 2023 - 13:58:36 EST


On Tue, 7 Feb 2023 22:51:33 -0800, Eric Biggers wrote:
> From: Eric Biggers <ebiggers@xxxxxxxxxx>
>
> The randstruct support released in Clang 15 is unsafe to use due to a
> bug that can cause miscompilations: "-frandomize-layout-seed
> inconsistently randomizes all-function-pointers structs"
> (https://github.com/llvm/llvm-project/issues/60349). It has been fixed
> on the Clang 16 release branch, so add a Clang version check.
>
> [...]

Applied to for-next/hardening, thanks!

[1/1] randstruct: disable Clang 15 support
https://git.kernel.org/kees/c/7ee3819f2ba9

--
Kees Cook