Re: [PATCH v13 7/8] x86/vdso: Insert endbr32/endbr64 to vDSO

From: Andy Lutomirski
Date: Fri Sep 25 2020 - 12:18:57 EST


On Fri, Sep 25, 2020 at 7:58 AM Yu-cheng Yu <yu-cheng.yu@xxxxxxxxx> wrote:
>
> From: "H.J. Lu" <hjl.tools@xxxxxxxxx>
>
> When Indirect Branch Tracking (IBT) is enabled, vDSO functions may be
> called indirectly, and must have ENDBR32 or ENDBR64 as the first
> instruction. The compiler must support -fcf-protection=branch so that it
> can be used to compile vDSO.

Acked-by: Andy Lutomirski <luto@xxxxxxxxxx>