Arun Chandran 92980405f3 arm64: ASLR: Don't randomise text when randomise_va_space == 0
When user asks to turn off ASLR by writing "0" to
/proc/sys/kernel/randomize_va_space there should not be
any randomization to mmap base, stack, VDSO, libs, text and heap

Currently arm64 violates this behavior by randomising text.
Fix this by defining a constant ELF_ET_DYN_BASE. The randomisation of
mm->mmap_base is done by setup_new_exec -> arch_pick_mmap_layout ->
mmap_base -> mmap_rnd.

Signed-off-by: Arun Chandran <achandran@mvista.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2014-10-24 15:47:49 +01:00
..
2014-04-18 11:40:33 +02:00
2012-09-17 13:42:21 +01:00
2012-09-17 13:41:59 +01:00
2014-07-18 15:24:08 +01:00
2012-09-17 13:42:21 +01:00
2012-09-17 13:42:04 +01:00
2014-04-07 16:36:15 -07:00
2014-09-03 13:11:00 +00:00
2013-06-14 09:52:40 +01:00
2014-10-09 15:03:49 -04:00
2013-10-25 11:33:21 +01:00
2014-09-25 15:35:41 +01:00
2013-06-07 14:03:38 +01:00
2012-09-17 13:41:56 +01:00
2014-08-04 12:31:53 -07:00
2012-09-17 13:42:19 +01:00
2014-09-30 17:08:57 -06:00
2012-09-17 13:42:17 +01:00
2012-09-17 13:42:07 +01:00
2012-09-17 10:24:46 +01:00
2014-07-10 11:06:00 +01:00
2012-09-17 10:24:46 +01:00
2014-03-20 17:41:27 +00:00
2012-09-17 13:42:09 +01:00
2012-09-17 13:42:09 +01:00