[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164987798634.655998.2445977983913600905.b4-ty@chromium.org>
Date: Wed, 13 Apr 2022 12:26:33 -0700
From: Kees Cook <keescook@...omium.org>
To: samitolvanen@...gle.com
Cc: Kees Cook <keescook@...omium.org>, nathan@...nel.org,
linux-arm-kernel@...ts.infradead.org, masahiroy@...nel.org,
linux-kernel@...r.kernel.org, llvm@...ts.linux.dev,
mark.rutland@....com, ndesaulniers@...gle.com, will@...nel.org,
catalin.marinas@....com
Subject: Re: [PATCH v2] cfi: Use __builtin_function_start
On Tue, 5 Apr 2022 15:16:18 -0700, Sami Tolvanen wrote:
> Clang 14 added support for the __builtin_function_start function,
> which allows us to implement the function_nocfi macro without
> architecture-specific inline assembly and in a way that also works
> with static initializers.
>
> Change CONFIG_CFI_CLANG to depend on Clang >= 14, define
> function_nocfi using __builtin_function_start, and remove the arm64
> inline assembly implementation.
>
> [...]
Applied to for-next/hardening, thanks!
[1/1] cfi: Use __builtin_function_start
https://git.kernel.org/kees/c/e6f3b3c9c109
--
Kees Cook
Powered by blists - more mailing lists