From: Kees Cook Date: Fri, 11 Oct 2013 00:18:16 +0000 (-0700) Subject: x86, kaslr: Select random position from e820 maps X-Git-Tag: v3.14-rc1~156^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82fa9637a2ba285bcc7c5050c73010b2c1b3d803;p=pandora-kernel.git x86, kaslr: Select random position from e820 maps Counts available alignment positions across all e820 maps, and chooses one randomly for the new kernel base address, making sure not to collide with unsafe memory areas. Signed-off-by: Kees Cook Link: http://lkml.kernel.org/r/1381450698-28710-5-git-send-email-keescook@chromium.org Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed