Re: [PATCH] x86/ibt: make is_endbr() notrace
From: Menglong Dong
Date: Mon Sep 22 2025 - 03:22:19 EST
On 2025/9/22 15:19 Peter Zijlstra <peterz@xxxxxxxxxxxxx> write:
> On Mon, Sep 22, 2025 at 03:13:38PM +0800, menglong.dong@xxxxxxxxx wrote:
>
> > > Anyway, I don't mind making is_endbr() invisible to tracing, that might
> > > just have security benefits too. But I think first the ftrace folks need
> > > to figure out how to best kill that recursion, because I don't think
> > > is_endbr is particularly special here.
> >
> > So, does this patch seem useful after all?
>
> The use lies in making it harder to find/manipulate endbr things.
>
> > OK, I'll send a V2 base on your following suggestion.
>
> Hold off until Masami/Steve have fixed the ftrace recursion issue. After
> that we can do this.
OK!
>
>