mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2024-12-24 06:59:25 -05:00
switch malloc_enable to enforce_init
This commit is contained in:
parent
3cd3d34b3e
commit
a617f7604d
2
malloc.c
2
malloc.c
@ -1533,7 +1533,7 @@ COLD EXPORT void h_malloc_disable(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
COLD EXPORT void h_malloc_enable(void) {
|
COLD EXPORT void h_malloc_enable(void) {
|
||||||
init();
|
enforce_init();
|
||||||
thread_unseal_metadata();
|
thread_unseal_metadata();
|
||||||
full_unlock();
|
full_unlock();
|
||||||
thread_seal_metadata();
|
thread_seal_metadata();
|
||||||
|
Loading…
Reference in New Issue
Block a user