Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 42fe0b18 authored by dcashman's avatar dcashman Committed by Brandon McAnsh
Browse files

mm: mmap: Add new /proc tunable for mmap_base ASLR.



ASLR currently only uses 8 bits to generate the random offset for the
mmap base address on 32 bit architectures. This value was chosen to
prevent a poorly chosen value from dividing the address space in such
a way as to prevent large allocations. This may not be an issue on all
platforms. Allow the specification of a minimum number of bits so that
platforms desiring greater ASLR protection may determine where to place
the trade-off.

BUG=24047224
Signed-off-by: default avatarDaniel Cashman <dcashman@google.com>
Change-Id: I54556fecca4bd2ee2b80be7f305769363c32bb9a
parent 93d79c2f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment