mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2025-04-19 22:10:19 +02:00
remove redundant unseal / seal metadata
This commit is contained in:
parent
fa17f70a73
commit
2d7882ec0e
1 changed files with 0 additions and 4 deletions
|
@ -1544,15 +1544,11 @@ COLD EXPORT int h_iterate(UNUSED uintptr_t base, UNUSED size_t size,
|
|||
|
||||
COLD EXPORT void h_malloc_disable(void) {
|
||||
init();
|
||||
thread_unseal_metadata();
|
||||
full_lock();
|
||||
thread_seal_metadata();
|
||||
}
|
||||
|
||||
COLD EXPORT void h_malloc_enable(void) {
|
||||
enforce_init();
|
||||
thread_unseal_metadata();
|
||||
full_unlock();
|
||||
thread_seal_metadata();
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue