diff options
author | Kees Cook <keescook@chromium.org> | 2015-04-14 22:47:54 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-14 23:49:05 (GMT) |
commit | ed6322746afb74c2509e2f3a6464182793b16eb9 (patch) | |
tree | 0e1998c27632be0877cb01ea547f41611a7834b9 /arch/s390/mm | |
parent | 1f0569df0b0285e7ec2432d804a4921b06a61618 (diff) | |
download | linux-ed6322746afb74c2509e2f3a6464182793b16eb9.tar.xz |
powerpc: 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 x86.
(Can mmap ASLR be safely enabled in the legacy mmap case here? Other
archs use "mm->mmap_base = TASK_UNMAPPED_BASE + random_factor".)
Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Ingo Molnar <mingo@kernel.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/s390/mm')
0 files changed, 0 insertions, 0 deletions