diff options
author | Kees Cook <keescook@chromium.org> | 2015-04-14 22:47:48 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-14 23:49:05 (GMT) |
commit | dd04cff1dceab18226853b555cf07914648a235f (patch) | |
tree | 6c543fccf16600754458e12aa61099ae4b638a06 /arch/mips/bcm47xx/nvram.c | |
parent | 82168140bc4cec7ec9bad39705518541149ff8b7 (diff) | |
download | linux-dd04cff1dceab18226853b555cf07914648a235f.tar.xz |
arm64: 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. This additionally
enables mmap ASLR on legacy mmap layouts, which appeared to be missing
on arm64, and was already supported on arm. Additionally removes a
copy/pasted declaration of an unused function.
Signed-off-by: Kees Cook <keescook@chromium.org>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/mips/bcm47xx/nvram.c')
0 files changed, 0 insertions, 0 deletions