+6
−0
+11
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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:
Daniel Cashman <dcashman@google.com>
Change-Id: I0aa8f1e416fec848b6817ab861610d8f0eb3beb8