From: H. Peter Anvin Date: Tue, 29 Jan 2013 09:05:24 +0000 (-0800) Subject: x86, boot: Sanitize boot_params if not zeroed on creation X-Git-Tag: v3.9-rc1~167^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5dcd14ecd41ea2b3ae3295a9b30d98769d52165f;p=pandora-kernel.git x86, boot: Sanitize boot_params if not zeroed on creation Use the new sentinel field to detect bootloaders which fail to follow protocol and don't initialize fields in struct boot_params that they do not explicitly initialize to zero. Based on an original patch and research by Yinghai Lu. Changed by hpa to be invoked both in the decompression path and in the kernel proper; the latter for the case where a bootloader takes over decompression. Originally-by: Yinghai Lu Link: http://lkml.kernel.org/r/1359058816-7615-26-git-send-email-yinghai@kernel.org Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed