From: Kees Cook Date: Tue, 14 Apr 2015 22:47:45 +0000 (-0700) Subject: x86: standardize mmap_rnd() usage X-Git-Tag: omap-for-v4.1/fixes-rc1~151^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82168140bc4cec7ec9bad39705518541149ff8b7;p=pandora-kernel.git x86: standardize mmap_rnd() usage In preparation for splitting out ET_DYN ASLR, this refactors the use of mmap_rnd() to be used similarly to arm, and extracts the checking of PF_RANDOMIZE. Signed-off-by: Kees Cook Reviewed-by: Ingo Molnar Cc: Oleg Nesterov Cc: Andy Lutomirski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed