Messages in this thread | | | Date | Thu, 6 Feb 2020 03:44:52 -0800 | From | Kees Cook <> | Subject | Re: [PATCH 2/2] x86/boot/compressed: Remove unnecessary sections from bzImage |
| |
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@alum.mit.edu>
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@chromium.org>
-- Kees Cook
| |