Re: [PATCH 07/29] x86: Restore "text" Program Header with dummy section

2019-10-10 Thread Kees Cook
On Thu, Oct 10, 2019 at 12:33:05PM +0200, Borislav Petkov wrote: > On Thu, Sep 26, 2019 at 10:55:40AM -0700, Kees Cook wrote: > > Instead of depending on markings in the section following NOTES to > > restore the associated Program Header, use a dummy section, as done > > in other architectures. >

Re: [PATCH 07/29] x86: Restore "text" Program Header with dummy section

2019-10-10 Thread Borislav Petkov
On Thu, Sep 26, 2019 at 10:55:40AM -0700, Kees Cook wrote: > Instead of depending on markings in the section following NOTES to > restore the associated Program Header, use a dummy section, as done > in other architectures. This is very laconic and after some staring at ld.info, I think you mean t

[PATCH 07/29] x86: Restore "text" Program Header with dummy section

2019-09-26 Thread Kees Cook
Instead of depending on markings in the section following NOTES to restore the associated Program Header, use a dummy section, as done in other architectures. This is preparation for moving NOTES into the RO_DATA macro. Signed-off-by: Kees Cook --- arch/x86/kernel/vmlinux.lds.S | 3 ++- 1 file c