DescriptionImprove seeding of AddressSpaceRandomization randomness.
- Mix in a bit of time as well as pid. (On Linux, pids can be identical
between processes because of namespacing.)
- We use raw calls to fetch the time, to keep PartitionAlloc standalone and
not depend on a platform callback. Furthermore, we're deep inside an allocator
at this point and the platform callbacks are not simple and might re-enter a
memory allocator which is a no-no. For consistency, bring the process id
related calls inline.
- Also add a TODO to improve the randomization range on Win8.1+.
BUG=499465
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197182
Patch Set 1 #
Messages
Total messages: 6 (2 generated)
|
|||||||||||||||||||