diff options
author | Kees Cook <keescook@chromium.org> | 2015-04-15 01:47:45 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-15 02:49:05 +0300 |
commit | 82168140bc4cec7ec9bad39705518541149ff8b7 (patch) | |
tree | 204435faeddb6c911c8dba3313da288ccef29f55 /arch/sparc | |
parent | fbbc400f3924ce095b466c776dc294727ec0a202 (diff) | |
download | linux-82168140bc4cec7ec9bad39705518541149ff8b7.tar.xz |
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 <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>
Diffstat (limited to 'arch/sparc')
0 files changed, 0 insertions, 0 deletions