Re: [RFC][PATCH] objtool: WARN about ENDBR instructions

From: Josh Poimboeuf
Date: Wed Feb 10 2021 - 11:11:23 EST


On Wed, Feb 10, 2021 at 09:39:53AM +0100, Peter Zijlstra wrote:
>
>
> Given all the ENDBR fun we recently had, do we want the below? Until
> someone comes and fixes up kprobes/ftrace/livepatch etc.. having them is
> a giant pain and we'd better warn about it.

Meh...

Is there a point in doing this, now that we killed it with
-fcf-protection=none?

That said, the patch is nicely small and localized.

--
Josh