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

From: Kees Cook
Date: Sat May 14 2022 - 17:50:55 EST


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@xxxxxxxxxx>

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

Reviewed-by: Kees Cook <keescook@xxxxxxxxxxxx>

--
Kees Cook