From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755312Ab3KUTG0 (ORCPT ); Thu, 21 Nov 2013 14:06:26 -0500 Received: from cavan.codon.org.uk ([93.93.128.6]:35466 "EHLO cavan.codon.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754677Ab3KUTGY (ORCPT ); Thu, 21 Nov 2013 14:06:24 -0500 Date: Thu, 21 Nov 2013 19:06:20 +0000 From: Matthew Garrett To: Greg KH Cc: Vivek Goyal , linux-kernel@vger.kernel.org, kexec@lists.infradead.org, ebiederm@xmission.com, hpa@zytor.com Subject: Re: [PATCH 4/6] kexec: A new system call, kexec_file_load, for in kernel kexec Message-ID: <20131121190620.GA25951@srcf.ucam.org> References: <1384969851-7251-1-git-send-email-vgoyal@redhat.com> <1384969851-7251-5-git-send-email-vgoyal@redhat.com> <20131121190350.GC17070@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131121190350.GC17070@kroah.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: mjg59@cavan.codon.org.uk X-SA-Exim-Scanned: No (on cavan.codon.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 21, 2013 at 11:03:50AM -0800, Greg KH wrote: > This could be done as we do with modules, and just tack the signature > onto the end of the 'blob' of the image. That way we could use the same > tool to sign the binary as we do for modules, and save the need for > extra parameters in the syscall. That would require a certain degree of massaging from userspace if we want to be able to use the existing Authenticode signatures. Otherwise we need to sign kernels twice. -- Matthew Garrett | mjg59@srcf.ucam.org