Re: [PATCH v9 00/11] x86: PIE support to extend KASLR randomization

2019-09-06 Thread Thomas Garnier
On Thu, Aug 29, 2019 at 12:55 PM Thomas Garnier wrote: > > On Tue, Aug 6, 2019 at 8:51 AM Peter Zijlstra wrote: > > > > On Tue, Aug 06, 2019 at 05:43:47PM +0200, Borislav Petkov wrote: > > > On Tue, Jul 30, 2019 at 12:12:44PM -0700, Thomas Garnier wrote: > > &

Re: [PATCH v9 00/11] x86: PIE support to extend KASLR randomization

2019-08-29 Thread Thomas Garnier
On Tue, Aug 6, 2019 at 8:51 AM Peter Zijlstra wrote: > > On Tue, Aug 06, 2019 at 05:43:47PM +0200, Borislav Petkov wrote: > > On Tue, Jul 30, 2019 at 12:12:44PM -0700, Thomas Garnier wrote: > > > These patches make some of the changes necessary to build the kernel as >

Re: [PATCH v9 01/11] x86/crypto: Adapt assembly for PIE support

2019-08-05 Thread Thomas Garnier
On Mon, Aug 5, 2019 at 10:27 AM Borislav Petkov wrote: > > On Mon, Aug 05, 2019 at 09:54:44AM -0700, Kees Cook wrote: > > I think there was some long-ago feedback from someone (Ingo?) about > > giving context for the patch so looking at one individually would let > > someone know that it was part

Re: [PATCH v8 00/11] x86: PIE support to extend KASLR randomization

2019-07-30 Thread Thomas Garnier
On Tue, Jul 30, 2019 at 11:01 AM Kees Cook wrote: > > On Mon, Jul 08, 2019 at 10:48:53AM -0700, Thomas Garnier wrote: > > Splitting the previous series in two. This part contains assembly code > > changes required for PIE but without any direct dependencies with the > &

[PATCH v9 01/11] x86/crypto: Adapt assembly for PIE support

2019-07-30 Thread Thomas Garnier
Change the assembly code to use only relative references of symbols for the kernel to be PIE compatible. Position Independent Executable (PIE) support will allow to extend the KASLR randomization range below 0x8000. Signed-off-by: Thomas Garnier --- arch/x86/crypto/aegis128-aesni

[PATCH v9 00/11] x86: PIE support to extend KASLR randomization

2019-07-30 Thread Thomas Garnier
Minor changes based on feedback and rebase from v8. Splitting the previous serie in two. This part contains assembly code changes required for PIE but without any direct dependencies with the rest of the patchset. Changes: - patch v9 (assembly): - Moved to relative reference for sync_core bas

[PATCH v8 01/11] x86/crypto: Adapt assembly for PIE support

2019-07-08 Thread Thomas Garnier
Change the assembly code to use only relative references of symbols for the kernel to be PIE compatible. Position Independent Executable (PIE) support will allow to extend the KASLR randomization range below 0x8000. Signed-off-by: Thomas Garnier --- arch/x86/crypto/aegis128-aesni

[PATCH v8 00/11] x86: PIE support to extend KASLR randomization

2019-07-08 Thread Thomas Garnier
Splitting the previous serie in two. This part contains assembly code changes required for PIE but without any direct dependencies with the rest of the patchset. Changes: - patch v8 (assembly): - Fix issues in crypto changes (thanks to Eric Biggers). - Remove unnecessary jump table change.

Re: [PATCH v7 01/12] x86/crypto: Adapt assembly for PIE support

2019-05-29 Thread Thomas Garnier
On Wed, May 22, 2019 at 1:55 PM Eric Biggers wrote: > > On Wed, May 22, 2019 at 01:47:07PM -0700, Thomas Garnier wrote: > > On Mon, May 20, 2019 at 9:06 PM Eric Biggers wrote: > > > > > > On Mon, May 20, 2019 at 04:19:26PM -0700, Thomas Garnier wrote: > > >

Re: [PATCH v7 01/12] x86/crypto: Adapt assembly for PIE support

2019-05-22 Thread Thomas Garnier
On Mon, May 20, 2019 at 9:06 PM Eric Biggers wrote: > > On Mon, May 20, 2019 at 04:19:26PM -0700, Thomas Garnier wrote: > > diff --git a/arch/x86/crypto/sha256-avx2-asm.S > > b/arch/x86/crypto/sha256-avx2-asm.S > > index 1420db15dcdd..2ced4b2f6c76 100644 > > ---

[PATCH v7 01/12] x86/crypto: Adapt assembly for PIE support

2019-05-20 Thread Thomas Garnier
From: Thomas Garnier Change the assembly code to use only relative references of symbols for the kernel to be PIE compatible. Position Independent Executable (PIE) support will allow to extend the KASLR randomization range below 0x8000. Signed-off-by: Thomas Garnier --- arch/x86

[PATCH v7 00/12] x86: PIE support to extend KASLR randomization

2019-05-20 Thread Thomas Garnier
Splitting the previous serie in two. This part contains assembly code changes required for PIE but without any direct dependencies with the rest of the patchset. Changes: - patch v7 (assembly): - Split patchset and reorder changes. - patch v6: - Rebase on latest changes in jump tables and

Re: [PATCH v6 01/27] x86/crypto: Adapt assembly for PIE support

2019-02-07 Thread Thomas Garnier
On Thu, Feb 7, 2019 at 3:49 AM Borislav Petkov wrote: > > On Thu, Jan 31, 2019 at 11:24:08AM -0800, Thomas Garnier wrote: > > Change the assembly code to use only relative references of symbols for the > > kernel to be PIE compatible. > > > > Position Independent

[PATCH v6 01/27] x86/crypto: Adapt assembly for PIE support

2019-01-31 Thread Thomas Garnier
Change the assembly code to use only relative references of symbols for the kernel to be PIE compatible. Position Independent Executable (PIE) support will allow to extend the KASLR randomization range below 0x8000. Signed-off-by: Thomas Garnier --- arch/x86/crypto/aegis128-aesni

[PATCH v5 01/27] x86/crypto: Adapt assembly for PIE support

2018-06-25 Thread Thomas Garnier
Change the assembly code to use only relative references of symbols for the kernel to be PIE compatible. Position Independent Executable (PIE) support will allow to extend the KASLR randomization range 0x8000. Signed-off-by: Thomas Garnier --- arch/x86/crypto/aegis128-aesni-asm.S