Re: [PATCH v10 10/11] x86/paravirt: Adapt assembly for PIE support
From: Borislav Petkov
Date: Tue Dec 24 2019 - 05:04:32 EST
On Mon, Dec 23, 2019 at 06:23:50PM +0100, Borislav Petkov wrote:
> On Wed, Dec 04, 2019 at 04:09:47PM -0800, Thomas Garnier wrote:
> > If PIE is enabled, switch the paravirt assembly constraints to be
> > compatible. The %c/i constrains generate smaller code so is kept by
> > default.
> >
> > Position Independent Executable (PIE) support will allow to extend the
> > KASLR randomization range below 0xffffffff80000000.
> >
> > Signed-off-by: Thomas Garnier <thgarnie@xxxxxxxxxxxx>
> > Acked-by: Juergen Gross <jgross@xxxxxxxx>
> > ---
> > arch/x86/include/asm/paravirt_types.h | 32 +++++++++++++++++++++++----
> > 1 file changed, 28 insertions(+), 4 deletions(-)
>
> More missed feedback:
>
> https://lkml.kernel.org/r/CAJcbSZG-JhBC9b1JMv1zq2r5uRQipYLtkNjM67sd7=eqy_iOaA@xxxxxxxxxxxxxx
Whoops, it is in the comment above PARAVIRT_CALL_POST. I must've been
blind yesterday. Forget what I said and sorry.
Thx.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette