Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
randstruct: disable Clang 15 support
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" (llvm/llvm-project#60349). It has been fixed on the Clang 16 release branch, so add a Clang version check. Fixes: 035f7f8 ("randstruct: Enable Clang support") Cc: [email protected] Signed-off-by: Eric Biggers <[email protected]> Acked-by: Nick Desaulniers <[email protected]> Reviewed-by: Nathan Chancellor <[email protected]> Reviewed-by: Bill Wendling <[email protected]> Signed-off-by: Kees Cook <[email protected]> Link: https://lore.kernel.org/r/[email protected]
- Loading branch information