mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2025-04-20 06:20:20 +02:00
document free slabs quarantine
This commit is contained in:
parent
3504465584
commit
124d958da1
1 changed files with 3 additions and 0 deletions
|
@ -126,6 +126,9 @@ allocation and then unmapped on free.
|
||||||
* Entire slab region starts out non-readable and non-writable
|
* Entire slab region starts out non-readable and non-writable
|
||||||
* Slabs beyond the cache limit are purged and become non-readable and
|
* Slabs beyond the cache limit are purged and become non-readable and
|
||||||
non-writable memory again
|
non-writable memory again
|
||||||
|
* Placed into a queue for reuse in FIFO order to maximize the time
|
||||||
|
spent memory protected
|
||||||
|
* Randomized array is used to add a random delay for reuse
|
||||||
* Fine-grained randomization within memory regions
|
* Fine-grained randomization within memory regions
|
||||||
* Randomly sized guard regions for large allocations
|
* Randomly sized guard regions for large allocations
|
||||||
* Random slot selection within slabs
|
* Random slot selection within slabs
|
||||||
|
|
Loading…
Add table
Reference in a new issue