Re: [PATCH v7u1 14/31] x86, boot: move checking of cmd_line_ptr out of common path

2013-01-07 Thread Borislav Petkov
On Thu, Jan 03, 2013 at 04:48:34PM -0800, Yinghai Lu wrote: > cmdline.c::__cmdline_find_option... are shared between 16-bit setup code > and 32/64 bit decompressor code. > > for 32/64 only path via kexec, we should not check if ptr is less 1M. > as those cmdline could be put above 1M, or even 4G.

[PATCH v7u1 14/31] x86, boot: move checking of cmd_line_ptr out of common path

2013-01-03 Thread Yinghai Lu
cmdline.c::__cmdline_find_option... are shared between 16-bit setup code and 32/64 bit decompressor code. for 32/64 only path via kexec, we should not check if ptr is less 1M. as those cmdline could be put above 1M, or even 4G. Move out accessible checking out of __cmdline_find_option() So decomp