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-09-29 01:59:26 +02:00
2014-10-03 06:06:23 +02:00
2014-06-06 10:43:28 -07:00
2014-09-08 14:39:18 +01:00
2014-09-08 14:39:18 +01:00
2014-10-20 17:47:02 +01:00
2014-10-03 14:51:02 +01:00
2014-07-18 15:24:09 +01:00
2014-09-12 10:48:55 +01:00
2014-07-18 15:24:08 +01:00
2014-09-25 15:35:41 +01:00
2014-09-22 11:48:31 +01:00
2014-07-07 20:29:47 +01:00
2014-10-24 15:47:49 +01:00
2014-07-18 10:21:17 +01:00
2014-09-03 13:11:00 +00:00
2014-08-28 20:01:36 +01:00
2014-09-08 14:39:21 +01:00
2014-10-09 15:03:49 -04:00
2014-10-21 17:01:07 +01:00
2014-10-18 14:24:36 -07:00
2014-09-25 15:35:41 +01:00
2014-09-26 14:39:13 +02:00
2014-07-11 04:57:45 -07:00
2014-07-11 04:57:44 -07:00
2014-09-26 14:39:45 +02:00
2014-09-27 11:03:33 +02:00
2014-10-14 05:48:19 -07:00
2014-08-04 12:31:53 -07:00
2014-06-05 13:15:32 -07:00
2014-08-08 15:57:27 -07:00
2014-09-30 17:08:57 -06:00
2014-09-08 14:39:19 +01:00
2014-07-23 15:27:46 +01:00
2014-07-23 15:27:51 +01:00
2014-07-23 15:27:56 +01:00
2014-10-18 14:32:31 -07:00
2014-09-08 14:39:18 +01:00
2014-08-29 16:11:10 +01:00
2014-08-29 16:11:00 +01:00
2014-08-06 12:56:16 +02:00
2014-09-13 18:46:13 +02:00
2014-08-19 20:23:02 +01:00
2014-07-09 12:23:48 +01:00
2014-09-12 10:48:55 +01:00
2014-07-10 11:06:00 +01:00
2014-07-25 13:12:15 +01:00
2014-09-08 14:39:19 +01:00
2014-10-09 22:26:01 -04:00
2014-07-24 18:41:13 +01:00
2014-08-18 19:47:04 +01:00
2014-08-18 19:47:04 +01:00
2014-07-11 04:57:35 -07:00