Re: [RFC PATCH v2 14/21] treewide: Drop __cficanonical

From: Kees Cook
Date: Sat May 14 2022 - 17:58:00 EST


On Fri, May 13, 2022 at 01:21:52PM -0700, Sami Tolvanen wrote:
> CONFIG_CFI_CLANG doesn't use a jump table anymore and therefore,
> won't change function references to point elsewhere. Remove the
> __cficanonical attribute and all uses of it.
>
> Signed-off-by: Sami Tolvanen <samitolvanen@xxxxxxxxxx>
> ---
> include/linux/compiler_types.h | 4 ----
> include/linux/init.h | 4 ++--
> include/linux/pci.h | 4 ++--
> 3 files changed, 4 insertions(+), 8 deletions(-)

I think this is missing removing it from include/linux/compiler-clang.h ?

With that done (or explained why not):

Reviewed-by: Kees Cook <keescook@xxxxxxxxxxxx>

--
Kees Cook