Re: [PATCH v13 7/8] x86/vdso: Insert endbr32/endbr64 to vDSO
From: Yu, Yu-cheng <hidden>
Date: 2020-09-25 16:30:07
Also in:
linux-arch, linux-doc, linux-mm, lkml
From: Yu, Yu-cheng <hidden>
Date: 2020-09-25 16:30:07
Also in:
linux-arch, linux-doc, linux-mm, lkml
On 9/25/2020 9:18 AM, Andy Lutomirski wrote:
On Fri, Sep 25, 2020 at 7:58 AM Yu-cheng Yu [off-list ref] wrote:quoted
From: "H.J. Lu" <redacted> 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@kernel.org>
Thanks! Yu-cheng