Re: [PATCH 2/2] x86/boot/compressed: Remove unnecessary sections from bzImage

From: Kees Cook
Date: Thu Feb 06 2020 - 06:45:05 EST


On Thu, Jan 09, 2020 at 10:02:18AM -0500, Arvind Sankar wrote:
> Discarding the sections that are unused in the compressed kernel saves
> about 10 KiB on 32-bit and 6 KiB on 64-bit, mostly from .eh_frame.
>
> Signed-off-by: Arvind Sankar <nivedita@xxxxxxxxxxxx>

Looks good to me. I was worried this would paper over the problem, but
actually this solves it even more directly by removing the troublesome
sections. So, yes, let's do this too. :)

Acked-by: Kees Cook <keescook@xxxxxxxxxxxx>

--
Kees Cook