Thread (29 messages) flat view 29 messages, 5 authors, 2021-04-28

Re: [PATCH v26 6/9] x86/vdso: Insert endbr32/endbr64 to vDSO

From: Kees Cook <hidden>
Date: 2021-04-28 20:39:08
Also in: linux-arch, linux-doc, linux-mm, lkml

On Tue, Apr 27, 2021 at 01:47:17PM -0700, Yu-cheng Yu wrote:
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.

Signed-off-by: H.J. Lu <redacted>
Reviewed-by: Kees Cook <redacted>

-- 
Kees Cook
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help