Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752840AbcKYJGt (ORCPT ); Fri, 25 Nov 2016 04:06:49 -0500 Received: from mx1.redhat.com ([209.132.183.28]:38170 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754049AbcKYJGd (ORCPT ); Fri, 25 Nov 2016 04:06:33 -0500 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <1479787880-31811-2-git-send-email-mkayaalp@linux.vnet.ibm.com> References: <1479787880-31811-2-git-send-email-mkayaalp@linux.vnet.ibm.com> <1479787880-31811-1-git-send-email-mkayaalp@linux.vnet.ibm.com> To: Mehmet Kayaalp Cc: dhowells@redhat.com, Mimi Zohar , Stefan Berger , George Wilson , LSM , keyrings@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/4] KEYS: Insert incompressible bytes to reserve space in bzImage MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <14474.1480064784.1@warthog.procyon.org.uk> Date: Fri, 25 Nov 2016 09:06:24 +0000 Message-ID: <14475.1480064784@warthog.procyon.org.uk> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Fri, 25 Nov 2016 09:06:27 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 463 Lines: 11 Mehmet Kayaalp 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