[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+5PVA60FLTXZxf1hVuzD=_vUdg10Y7sYG9iZCs4voxurV_t0g@mail.gmail.com>
Date: Mon, 6 Jan 2014 16:33:52 -0500
From: Josh Boyer <jwboyer@...oraproject.org>
To: "H. Peter Anvin" <hpa@...or.com>
Cc: Vivek Goyal <vgoyal@...hat.com>, Kees Cook <keescook@...omium.org>,
"Eric W. Biederman" <ebiederm@...ssion.com>,
Torsten Duwe <duwe@....de>,
Matthew Garrett <mjg59@...f.ucam.org>,
Greg KH <greg@...ah.com>, LKML <linux-kernel@...r.kernel.org>,
kexec <kexec@...ts.infradead.org>,
Peter Jones <pjones@...hat.com>
Subject: Re: [PATCH 4/6] kexec: A new system call, kexec_file_load, for in
kernel kexec
On Thu, Jan 2, 2014 at 3:56 PM, H. Peter Anvin <hpa@...or.com> wrote:
> On 01/02/2014 12:39 PM, Vivek Goyal wrote:
>>
>> If secureboot is enabled, it enforces module signature verification. I
>> think similar will happen for kexec too. How would kernel know that on
>> a secureboot platform fd original verification will happen and it is
>> sufficient.
>>
>> I personally want to support bzImage as well (apart from ELF) because
>> distributions has been shipping bzImage for a long time and I don't
>> want to enforce a change there because of secureboot. It is not necessary.
>> Right now I am thinking more about storing detached bzImage signatures
>> and passing those signatures to kexec system call.
>>
>
> Since the secureboot scenario probably means people will be signing
> those kernels, and those kernels are going to be EFI images, that in
> order to have "one kernel, one signature" there will be a desire to
> support signed PE images. Yes, PE is ugly but it shouldn't be too bad.
> However, it is probably one of those things that can be dealt with one
> bit at a time.
David Howells posted patches to support signed PE binaries early last
year. They were rejected rather quickly.
https://lkml.org/lkml/2013/2/21/196
That was for loading keys via PE binaries, but the parser is needed
either way. Unless I'm misunderstanding what you're suggesting?
josh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists