mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2024-12-21 21:55:05 -05:00
enable both forms of slab quarantines by default
This commit is contained in:
parent
57f115b33c
commit
8a474b647c
@ -15,8 +15,8 @@ common_cflags = [
|
|||||||
"-DWRITE_AFTER_FREE_CHECK=true",
|
"-DWRITE_AFTER_FREE_CHECK=true",
|
||||||
"-DSLOT_RANDOMIZE=true",
|
"-DSLOT_RANDOMIZE=true",
|
||||||
"-DSLAB_CANARY=true",
|
"-DSLAB_CANARY=true",
|
||||||
"-DSLAB_QUARANTINE_RANDOM_LENGTH=0",
|
"-DSLAB_QUARANTINE_RANDOM_LENGTH=1",
|
||||||
"-DSLAB_QUARANTINE_QUEUE_LENGTH=0",
|
"-DSLAB_QUARANTINE_QUEUE_LENGTH=1",
|
||||||
"-DGUARD_SLABS_INTERVAL=1",
|
"-DGUARD_SLABS_INTERVAL=1",
|
||||||
"-DGUARD_SIZE_DIVISOR=2",
|
"-DGUARD_SIZE_DIVISOR=2",
|
||||||
"-DREGION_QUARANTINE_RANDOM_LENGTH=128",
|
"-DREGION_QUARANTINE_RANDOM_LENGTH=128",
|
||||||
|
4
Makefile
4
Makefile
@ -6,8 +6,8 @@ CONFIG_ZERO_ON_FREE := true
|
|||||||
CONFIG_WRITE_AFTER_FREE_CHECK := true
|
CONFIG_WRITE_AFTER_FREE_CHECK := true
|
||||||
CONFIG_SLOT_RANDOMIZE := true
|
CONFIG_SLOT_RANDOMIZE := true
|
||||||
CONFIG_SLAB_CANARY := true
|
CONFIG_SLAB_CANARY := true
|
||||||
CONFIG_SLAB_QUARANTINE_RANDOM_LENGTH := 0
|
CONFIG_SLAB_QUARANTINE_RANDOM_LENGTH := 1
|
||||||
CONFIG_SLAB_QUARANTINE_QUEUE_LENGTH := 0
|
CONFIG_SLAB_QUARANTINE_QUEUE_LENGTH := 1
|
||||||
CONFIG_GUARD_SLABS_INTERVAL := 1
|
CONFIG_GUARD_SLABS_INTERVAL := 1
|
||||||
CONFIG_GUARD_SIZE_DIVISOR := 2
|
CONFIG_GUARD_SIZE_DIVISOR := 2
|
||||||
CONFIG_REGION_QUARANTINE_RANDOM_LENGTH := 128
|
CONFIG_REGION_QUARANTINE_RANDOM_LENGTH := 128
|
||||||
|
Loading…
Reference in New Issue
Block a user