mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2025-07-28 17:44:18 -04:00
add configuration for self-init
This needs to be disabled for compatibility with the exploit protection compatibility mode on GrapheneOS. hardened_malloc shouldn't be trying to initialize itself when exploit protection compatibility mode is enabled. This has to be handled in our Bionic integration instead.
This commit is contained in:
parent
dd427cb3b8
commit
8f38bbdee6
5 changed files with 11 additions and 1 deletions
|
@ -29,6 +29,7 @@ common_cflags = [
|
|||
"-DCONFIG_CLASS_REGION_SIZE=34359738368", // 32GiB
|
||||
"-DN_ARENA=1",
|
||||
"-DCONFIG_STATS=true",
|
||||
"-DCONFIG_SELF_INIT=false",
|
||||
]
|
||||
|
||||
cc_defaults {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue