Re: [PATCH 15/29] x86: Disable IBT around firmware

From: Peter Zijlstra
Date: Mon Feb 21 2022 - 11:11:13 EST


On Mon, Feb 21, 2022 at 07:54:55AM -0800, Kees Cook wrote:
> A small bike shed: should __noendbr have an alias, like
> __never_indirect or something, so there is an arch-agnostic way to do
> this that actually says what it does? (yes, it's in x86-only code now,
> hence the bike shed...)

I actually asked Mark a related question last week somewhere, I think
the answer was that the annotation either wasn't working or not as
useful on ARM64.

I'm thinking it's easy enough to do a mass rename if/when we cross that
bridge though.