From: Pavel Machek Subject: Re: [RFC 13/22] x86/power/64: Adapt assembly for PIE support Date: Wed, 19 Jul 2017 20:41:27 +0200 Message-ID: <20170719184127.GA1285@amd> References: <20170718223333.110371-1-thgarnie@google.com> <20170718223333.110371-14-thgarnie@google.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dDRMvlgZJXvWKvBx" Cc: Herbert Xu , "David S . Miller" , Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" , Peter Zijlstra , Josh Poimboeuf , Arnd Bergmann , Matthias Kaehlcke , Boris Ostrovsky , Juergen Gross , Paolo Bonzini , Radim =?utf-8?B?S3LEjW3DocWZ?= , Joerg Roedel , Andy Lutomirski , Borislav Petkov , "Kirill A . Shutemov" , Brian Gerst , Borislav Petkov , Christian Borntraeger , "Rafael J . Wysocki" , Len Brown , Tejun Heo , Chris To: Thomas Garnier Return-path: List-Post: List-Help: List-Unsubscribe: List-Subscribe: Content-Disposition: inline In-Reply-To: <20170718223333.110371-14-thgarnie@google.com> List-Id: linux-crypto.vger.kernel.org --dDRMvlgZJXvWKvBx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue 2017-07-18 15:33:24, Thomas Garnier wrote: > Change the assembly code to use only relative references of symbols for t= he > kernel to be PIE compatible. >=20 > Position Independent Executable (PIE) support will allow to extended the > KASLR randomization range below the -2G memory limit. >=20 > Signed-off-by: Thomas Garnier Acked-by: Pavel Machek (But not tested; testing it would be nice). Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --dDRMvlgZJXvWKvBx Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAllvp9cACgkQMOfwapXb+vIO8gCgpBYoGg7aQUDBer0KqNDdRxMr PN0AnAkhnZL2b5/6noFSLfiKXYwfgtge =XHtW -----END PGP SIGNATURE----- --dDRMvlgZJXvWKvBx--