Re: [PATCH v11 8/9] x86/vdso: Insert endbr32/endbr64 to vDSO
From: Andy Lutomirski
Date: Mon Aug 24 2020 - 20:34:06 EST
On Mon, Aug 24, 2020 at 5:30 PM 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.
>
> Signed-off-by: H.J. Lu <hjl.tools@xxxxxxxxx>
> Signed-off-by: Yu-cheng Yu <yu-cheng.yu@xxxxxxxxx>
> Acked-by: Andy Lutomirski <luto@xxxxxxxxxx>
I revoke my Ack. Please don't repeat the list of object files. Maybe
add the option to CFL?
--Andy