android_kernel_google_msm/arch/x86
dcashman a4d7dd9c69 FROMLIST: x86: mm: support ARCH_MMAP_RND_BITS.
(cherry picked from commit https://lkml.org/lkml/2015/12/21/339)

x86: arch_mmap_rnd() uses hard-coded values, 8 for 32-bit and 28 for
64-bit, to generate the random offset for the mmap base address.
This value represents a compromise between increased ASLR
effectiveness and avoiding address-space fragmentation. Replace it
with a Kconfig option, which is sensibly bounded, so that platform
developers may choose where to place this compromise. Keep default
values as new minimums.

Bug: 24047224
Signed-off-by: Daniel Cashman <dcashman@android.com>
Signed-off-by: Daniel Cashman <dcashman@google.com>
Change-Id: Id1fb53df5fedc909b79f3d952f120e6104900f24
2017-12-27 22:50:06 +03:00
..
boot
configs
crypto crypto: ghash-clmulni: specify context size for ghash async algorithm 2016-04-27 18:55:17 +08:00
ia32 Merge remote-tracking branch 'stable/linux-3.4.y' into lineage-15.1 2017-12-27 17:13:15 +03:00
include/asm Merge remote-tracking branch 'stable/linux-3.4.y' into lineage-15.1 2017-12-27 17:13:15 +03:00
kernel Merge remote-tracking branch 'stable/linux-3.4.y' into lineage-15.1 2017-12-27 17:13:15 +03:00
kvm KVM: x86: trap AMD MSRs for the TSeg base and mask 2016-04-27 18:55:23 +08:00
lguest
lib
math-emu x86/ldt: Correct FPU emulation access to LDT 2016-03-21 09:17:51 +08:00
mm FROMLIST: x86: mm: support ARCH_MMAP_RND_BITS. 2017-12-27 22:50:06 +03:00
net x86: bpf_jit: fix compilation of large bpf programs 2015-09-18 09:20:42 +08:00
oprofile
pci x86/PCI: Use host bridge _CRS info on Foxconn K8M890-8237A 2015-10-22 09:20:03 +08:00
platform x86/efi: Fix dummy variable buffer allocation 2014-06-07 16:02:10 -07:00
power x86/ldt: Make modify_ldt synchronous 2016-03-21 09:17:50 +08:00
syscalls Merge remote-tracking branch 'stable/linux-3.4.y' into lineage-15.1 2017-12-27 17:13:15 +03:00
tools
um x86, um: actually mark system call tables readonly 2015-04-14 17:33:49 +08:00
vdso x86/vdso: Fix the build on GCC5 2015-06-19 11:40:25 +08:00
video
xen x86/iopl/64: Properly context-switch IOPL on Xen PV 2016-04-27 18:55:30 +08:00
.gitignore
Kbuild
Kconfig FROMLIST: x86: mm: support ARCH_MMAP_RND_BITS. 2017-12-27 22:50:06 +03:00
Kconfig.cpu
Kconfig.debug
Makefile
Makefile.um
Makefile_32.cpu