From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752063AbcFVNeq (ORCPT ); Wed, 22 Jun 2016 09:34:46 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:33463 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750970AbcFVNeo (ORCPT ); Wed, 22 Jun 2016 09:34:44 -0400 Date: Wed, 22 Jun 2016 23:29:46 +1000 From: Balbir Singh To: Thiago Jung Bauermann Cc: linuxppc-dev@lists.ozlabs.org, kexec@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 0/9] kexec_file_load implementation for PowerPC Message-ID: <20160622232946.793d6c04@350D> In-Reply-To: <1466538521-31216-1-git-send-email-bauerman@linux.vnet.ibm.com> References: <1466538521-31216-1-git-send-email-bauerman@linux.vnet.ibm.com> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 21 Jun 2016 16:48:32 -0300 Thiago Jung Bauermann wrote: > Hello, > > This patch series implements the kexec_file_load system call on > PowerPC. > > This system call moves the reading of the kernel, initrd and the > device tree from the userspace kexec tool to the kernel. This is > needed if you want to do one or both of the following: > > 1. only allow loading of signed kernels. > 2. "measure" (i.e., record the hashes of) the kernel, initrd, kernel > command line and other boot inputs for the Integrity Measurement > Architecture subsystem. > > The above are the functions kexec already has built into > kexec_file_load. Yesterday I posted a set of patches which allows a > third feature: > > 3. have IMA pass-on its event log (where integrity measurements are > registered) accross kexec to the second kernel, so that the event > history is preserved. OK.. and this is safe? Do both the kernels need to be signed by the same certificate? Balbir Singh