On Thu, 2018-08-16 at 12:41 -0700, Andy Lutomirski wrote: > Currently, if the vDSO ends up containing an indirect branch or > call, GCC will emit the "external thunk" style of retpoline, and it > will fail to link. > > Fix it by building the vDSO with inline retpoline thunks. > > I haven't seen any reports of this triggering on an unpatched > kernel. > > Cc: Matt Rickard <[email protected]> > Cc: Jason Vas Dias <[email protected]> > Cc: David Woodhouse <[email protected]> > Cc: Peter Zijlstra <[email protected]> > Cc: Andi Kleen <[email protected]> > Fixes: commit 76b043848fd2 ("x86/retpoline: Add initial retpoline support") > Signed-off-by: Andy Lutomirski <[email protected]>
Acked-by: David Woodhouse <[email protected]> Thanks.
smime.p7s
Description: S/MIME cryptographic signature

