diff options
| author | dcashman <dcashman@google.com> | 2016-01-12 09:47:53 -0800 |
|---|---|---|
| committer | John Stultz <john.stultz@linaro.org> | 2016-02-16 13:54:15 -0800 |
| commit | e2240a15c1f686fc53e8c308f46c8c16cc80302b (patch) | |
| tree | 6a72d55a873762cc8c5ff140d9a99d7aa08ba806 /include/linux/fs_struct.h | |
| parent | 25106ff489ec21fc24528c8bdc9c12edd2c37c05 (diff) | |
FROMLIST: arm64: mm: support ARCH_MMAP_RND_BITS.
(cherry picked from commit https://lkml.org/lkml/2015/12/21/340)
arm64: arch_mmap_rnd() uses STACK_RND_MASK 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: I0be0bf8b1ed412863f248323e2d86b1df5bf21c6
Diffstat (limited to 'include/linux/fs_struct.h')
0 files changed, 0 insertions, 0 deletions
