[RFC PATCH v2 09/21] arm64: Add types to indirect called assembly functions

Kees Cook keescook at chromium.org
Sat May 14 14:50:44 PDT 2022


On Fri, May 13, 2022 at 01:21:47PM -0700, Sami Tolvanen wrote:
> With CONFIG_CFI_CLANG, assembly functions indirectly called from C
> code must be annotated with type identifiers to pass CFI checking. Use
> SYM_TYPED_FUNC_START for indirectly called functions.
> 
> Signed-off-by: Sami Tolvanen <samitolvanen at google.com>

Sort of related to my question about SYM_TYPED_FUNC_START itself, how
were these cases identified?

Reviewed-by: Kees Cook <keescook at chromium.org>

-- 
Kees Cook



More information about the linux-arm-kernel mailing list