diff options
author | dcashman <dcashman@google.com> | 2015-12-29 15:44:12 -0800 |
---|---|---|
committer | Ziyan <jaraidaniel@gmail.com> | 2016-10-29 01:33:54 +0200 |
commit | bfb69c912b280fdf56fcf2c26d8fc996cabc9f87 (patch) | |
tree | 85c80647cbbe3d8050a5f3e093893ad7e616566b /include/video/kyro.h | |
parent | cd76a77c16e5b485c935aa1f21acda2142f8970d (diff) | |
download | kernel_samsung_tuna-bfb69c912b280fdf56fcf2c26d8fc996cabc9f87.zip kernel_samsung_tuna-bfb69c912b280fdf56fcf2c26d8fc996cabc9f87.tar.gz kernel_samsung_tuna-bfb69c912b280fdf56fcf2c26d8fc996cabc9f87.tar.bz2 |
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
Diffstat (limited to 'include/video/kyro.h')
0 files changed, 0 insertions, 0 deletions