Re: [PATCH 1/4] KEYS: Insert incompressible bytes to reserve space in bzImage

From: David Howells
Date: Fri Nov 25 2016 - 04:06:53 EST


Mehmet Kayaalp <mkayaalp@xxxxxxxxxxxxxxxxxx> wrote:

> Include a random filled binary in vmlinux at the space reserved with
> CONFIG_SYSTEM_EXTRA_CERTIFICATE. This results in an uncompressed reserved
> area inside the bzImage as well, so that it can be replaced with an actual
> certificate later (after the bzImage is distributed).

You haven't said *why* you need an incompressible buffer. I presume it's
something to do with the decompression wrapper.

David