Re: [PATCH 4/6] kexec: A new system call, kexec_file_load, for inkernel kexec

From: Torsten Duwe
Date: Sat Dec 21 2013 - 06:38:57 EST


On Fri, Dec 20, 2013 at 03:20:16PM -0800, Kees Cook wrote:
>
> If we're doing fd origin verification (not signatures), can't we
> continue to use a regular bzImage?

I imagine the verification function is separated from the new kexec.
It gets passed the proposed new kernel file*, an optional signature
file*, and maybe hints about the kernel format and system security state.

With that function, you can do whatever you want. If you want to take
an early positive exit due to the location of the new kernel, you're fine.

Torsten

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/