aboutsummaryrefslogtreecommitdiff
path: root/mm/memory.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2015-04-14 15:47:45 -0700
committerMister Oyster <oysterized@gmail.com>2017-07-04 12:11:28 +0200
commit37c2f3439e79fe8501ef9d9bf9d54b0976278b5e (patch)
treea410fed36a857be30b599797c409b1eadb0f20a1 /mm/memory.c
parentee26c6ea4c821b5d572c0808d3d5aafb6cf8cca9 (diff)
x86: standardize mmap_rnd() usage
commit 82168140bc4cec7ec9bad39705518541149ff8b7 upstream. 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 <keescook@chromium.org> Reviewed-by: Ingo Molnar <mingo@kernel.org> Cc: Oleg Nesterov <oleg@redhat.com> Cc: Andy Lutomirski <luto@amacapital.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'mm/memory.c')
0 files changed, 0 insertions, 0 deletions