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

From: Borislav Petkov
Date: Fri Jun 13 2014 - 04:30:24 EST


On Fri, Jun 13, 2014 at 04:24:59PM +0800, WANG Chao wrote:
> Emm.. I'm not sure, but I think there might be a chance that
> COMMAND_LINE_SIZE extend in the future. In general 8K is safe to use,
> because the current greatest one is 4K.

Sure, but kexec cannot load a kernel of different arch, can it?
Which means, we're safe using the arch-specific definition of
COMMAND_LINE_SIZE.

--
Regards/Gruss,
Boris.

Sent from a fat crate under my desk. Formatting is fine.
--
--
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/