Re: [PATCH v2 4/4] x86/boot: Check that there are no runtime relocations

2020-08-06 Thread Arvind Sankar
On Thu, Aug 06, 2020 at 02:19:53PM +0300, Andy Shevchenko wrote: > On Tue, May 26, 2020 at 03:14:11PM -0400, Arvind Sankar wrote: > > Side question: are you going to submit a v3 of this? > Or i.o.w. what is the status of this series? > > -- > With Best Regards, > Andy Shevchenko > > The

Re: [PATCH v2 4/4] x86/boot: Check that there are no runtime relocations

2020-08-06 Thread Andy Shevchenko
On Tue, May 26, 2020 at 03:14:11PM -0400, Arvind Sankar wrote: Side question: are you going to submit a v3 of this? Or i.o.w. what is the status of this series? -- With Best Regards, Andy Shevchenko

Re: [PATCH v2 4/4] x86/boot: Check that there are no runtime relocations

2020-05-26 Thread Arvind Sankar
On Tue, May 26, 2020 at 10:13:40AM -0700, Fangrui Song wrote: > > On 2020-05-26, Arvind Sankar wrote: > >On Tue, May 26, 2020 at 08:11:56AM +0200, Ard Biesheuvel wrote: > >> On Tue, 26 May 2020 at 00:59, Arvind Sankar wrote: > >> > # Compressed kernel should be built as PIE since it may be

Re: [PATCH v2 4/4] x86/boot: Check that there are no runtime relocations

2020-05-26 Thread Fangrui Song
On 2020-05-26, Arvind Sankar wrote: On Tue, May 26, 2020 at 08:11:56AM +0200, Ard Biesheuvel wrote: On Tue, 26 May 2020 at 00:59, Arvind Sankar wrote: > # Compressed kernel should be built as PIE since it may be loaded at any > # address by the bootloader. > -KBUILD_LDFLAGS += $(call

Re: [PATCH v2 4/4] x86/boot: Check that there are no runtime relocations

2020-05-26 Thread Arvind Sankar
On Tue, May 26, 2020 at 08:11:56AM +0200, Ard Biesheuvel wrote: > On Tue, 26 May 2020 at 00:59, Arvind Sankar wrote: > > # Compressed kernel should be built as PIE since it may be loaded at any > > # address by the bootloader. > > -KBUILD_LDFLAGS += $(call ld-option, -pie) $(call ld-option, >

Re: [PATCH v2 4/4] x86/boot: Check that there are no runtime relocations

2020-05-26 Thread Ard Biesheuvel
On Tue, 26 May 2020 at 00:59, Arvind Sankar wrote: > > Add a linker script check that there are no runtime relocations, and > remove the old one that tries to check via looking for specially-named > sections in the object files. > > Drop the tests for -fPIE compiler option and -pie linker option,

[PATCH v2 4/4] x86/boot: Check that there are no runtime relocations

2020-05-25 Thread Arvind Sankar
Add a linker script check that there are no runtime relocations, and remove the old one that tries to check via looking for specially-named sections in the object files. Drop the tests for -fPIE compiler option and -pie linker option, as they are available in all supported gcc and binutils