On Thu, Nov 21, 2013 at 08:06:02PM +0100, Geert Uytterhoeven wrote: > On Wed, Nov 20, 2013 at 6:50 PM, Vivek Goyal <vgoyal at redhat.com> wrote: > > Now a new system call kexec_file_load() is implemented which takes > > kernel fd and initrd fd as parameters. Now kernel should be able > > to verify signature of newly loaded kernel. > > Only kernel fd and initrd fd? > What about other fds (e.g. device tree, bootinfo)? Now bootparams and any other stuff is prepared by kernel. So like a bootloader we just need to know 3 things. Kernel, initrd and command line and kernel should do the rest. In future we can define few flags to alter the loading behavior. Like force 32bit or 16bit entry instead of default 64bit for bzImage. Thanks Vivek