Re: [PATCH 0/4] x86: Various clean-ups in support of FGKASLR

From: Peter Zijlstra
Date: Wed Oct 27 2021 - 02:58:11 EST


On Wed, Oct 13, 2021 at 10:57:38AM -0700, Kees Cook wrote:
> Kees Cook (2):
> x86/boot: Allow a "silent" kaslr random byte fetch
> x86/boot/compressed: Avoid duplicate malloc() implementations
>
> Kristen Carlson Accardi (2):
> x86/tools/relocs: Support >64K section headers
> vmlinux.lds.h: Have ORC lookup cover entire _etext - _stext
>
> arch/x86/boot/compressed/kaslr.c | 4 --
> arch/x86/boot/compressed/misc.c | 3 +
> arch/x86/boot/compressed/misc.h | 2 +
> arch/x86/lib/kaslr.c | 18 ++++--
> arch/x86/tools/relocs.c | 103 ++++++++++++++++++++++--------
> include/asm-generic/vmlinux.lds.h | 3 +-
> include/linux/decompress/mm.h | 12 +++-
> 7 files changed, 107 insertions(+), 38 deletions(-)

Acked-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>

Boris, these are indeed all improvements to the status quo, irrespective
of future FGKASLR work. Do you want to take them, or should I stick them
in x86/core ?