enable both forms of slab quarantines by default

This commit is contained in:
Daniel Micay 2019-01-02 14:59:19 -05:00
parent 57f115b33c
commit 8a474b647c
2 changed files with 4 additions and 4 deletions

View File

@ -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",

View File

@ -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