Re: [PATCH v3 1/7] x86/boot/compressed: Move .got.plt entries out of the .got section

2020-06-29 Thread Kees Cook
On Mon, Jun 29, 2020 at 05:51:00PM +0200, Ard Biesheuvel wrote: > On Mon, 29 Jun 2020 at 17:50, Arvind Sankar wrote: > > > > On Mon, Jun 29, 2020 at 08:48:05AM -0700, Kees Cook wrote: > > > On Mon, Jun 29, 2020 at 10:09:22AM -0400, Arvind Sankar wrote: > > > > > > This is also being done on

Re: [PATCH v3 1/7] x86/boot/compressed: Move .got.plt entries out of the .got section

2020-06-29 Thread Arvind Sankar
On Mon, Jun 29, 2020 at 08:48:05AM -0700, Kees Cook wrote: > On Mon, Jun 29, 2020 at 10:09:22AM -0400, Arvind Sankar wrote: > > This is also being done on arm64, and the section was specified slightly > differently (with INFO) which maybe should be done here too? I was actually just about to

Re: [PATCH v3 1/7] x86/boot/compressed: Move .got.plt entries out of the .got section

2020-06-29 Thread Kees Cook
On Mon, Jun 29, 2020 at 10:09:22AM -0400, Arvind Sankar wrote: > From: Ard Biesheuvel > > The .got.plt section contains the part of the GOT which is used by PLT > entries, and which gets updated lazily by the dynamic loader when > function calls are dispatched through those PLT entries. > > On

Re: [PATCH v3 1/7] x86/boot/compressed: Move .got.plt entries out of the .got section

2020-06-29 Thread Ard Biesheuvel
On Mon, 29 Jun 2020 at 17:50, Arvind Sankar wrote: > > On Mon, Jun 29, 2020 at 08:48:05AM -0700, Kees Cook wrote: > > On Mon, Jun 29, 2020 at 10:09:22AM -0400, Arvind Sankar wrote: > > > > This is also being done on arm64, and the section was specified slightly > > differently (with INFO) which

[PATCH v3 1/7] x86/boot/compressed: Move .got.plt entries out of the .got section

2020-06-29 Thread Arvind Sankar
From: Ard Biesheuvel The .got.plt section contains the part of the GOT which is used by PLT entries, and which gets updated lazily by the dynamic loader when function calls are dispatched through those PLT entries. On fully linked binaries such as the kernel proper or the decompressor, this