Re: [PATCH 5/6] x86: kaslr: select memory region from e820 maps

From: Yinghai Lu
Date: Fri Apr 26 2013 - 17:51:59 EST


On Fri, Apr 26, 2013 at 12:03 PM, Kees Cook <keescook@xxxxxxxxxxxx> wrote:
> This chooses the largest contiguous RAM region for the KASLR offset
> to live in.
>
> Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx>
> ---
> v2:
> - make sure to exclude e820 regions outside the 32-bit memory range.

Do you need to execlude range that is used for initrd and possible
command_line and boot_param ?

Yinghai
--
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/