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 <m...@softrans.com.au> > Cc: Jason Vas Dias <jason.vas.d...@gmail.com> > Cc: David Woodhouse <dw...@infradead.org> > Cc: Peter Zijlstra <pet...@infradead.org> > Cc: Andi Kleen <a...@linux.intel.com> > Fixes: commit 76b043848fd2 ("x86/retpoline: Add initial retpoline support") > Signed-off-by: Andy Lutomirski <l...@kernel.org>
Acked-by: David Woodhouse <d...@amazon.co.uk> Thanks.
smime.p7s
Description: S/MIME cryptographic signature