aboutsummaryrefslogtreecommitdiff
path: root/include/linux/vcodec/hal_api.h
diff options
context:
space:
mode:
authordcashman <dcashman@google.com>2015-12-29 15:07:17 -0800
committerMoyster <oysterized@gmail.com>2016-09-10 16:51:12 +0200
commit53d1ed7798ca6200040c0052121efbafe1874594 (patch)
tree90cc505af314bec890a994f1a4292dc454dd6194 /include/linux/vcodec/hal_api.h
parentbd4cf354cc5f4a7c5c64b5bae1f6167423ae39c2 (diff)
FROMLIST: arm: mm: support ARCH_MMAP_RND_BITS.
(cherry picked from commit https://lkml.org/lkml/2015/12/21/341) arm: arch_mmap_rnd() uses a hard-code value of 8 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 8 as the minimum acceptable value. Bug: 24047224 Signed-off-by: Daniel Cashman <dcashman@android.com> Signed-off-by: Daniel Cashman <dcashman@google.com> Change-Id: I89c23a8737c981116a67381c241fdd5556e2b043
Diffstat (limited to 'include/linux/vcodec/hal_api.h')
0 files changed, 0 insertions, 0 deletions