[RFC PATCH v2 11/21] arm64: Drop unneeded __nocfi attributes

Sami Tolvanen samitolvanen at google.com
Mon May 16 09:28:23 PDT 2022


On Sat, May 14, 2022 at 2:54 PM Kees Cook <keescook at chromium.org> wrote:
>
> On Fri, May 13, 2022 at 01:21:49PM -0700, Sami Tolvanen wrote:
> > With -fsanitize=kcfi, CONFIG_CFI_CLANG no longer has issues
> > with address space confusion in functions that switch to linear
> > mapping. Now that the indirectly called assembly functions have
> > type annotations, drop the __nocfi attributes.
> >
> > Suggested-by: Mark Rutland <mark.rutland at arm.com>
> > Signed-off-by: Sami Tolvanen <samitolvanen at google.com>
>
> It looks like there are still other cases that continue to require
> __nocfi, yes? It looks like after this series, it's still BPF?

Yes, BPF is the only remaining user of __nocfi after this series.

Sami



More information about the linux-arm-kernel mailing list