[PATCH 07/13] kexec: Implementation of new syscall kexec_file_load

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 09, 2014 at 11:41:37AM -0400, Vivek Goyal wrote:
> IIUC, COMMAND_LINE_SIZE gives max limits of running kernel and it does
> not tell us anything about command line size supported by kernel being
> loaded.

Whatever you do, you do need a sane default because even querying the
boot protocol is not reliable as the to-be-loaded kernel's boot protocol
might be manipulated too, before signing (who knows what people do
in the wild).

So having a sane, unconditional fallback COMMAND_LINE_SIZE from the
first kernel is a must, methinks.

-- 
Regards/Gruss,
    Boris.

Sent from a fat crate under my desk. Formatting is fine.
--



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux