diff options
Diffstat (limited to 'libc/private/bionic_globals.h')
-rw-r--r-- | libc/private/bionic_globals.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/private/bionic_globals.h b/libc/private/bionic_globals.h index 23f2953f5..6f1e3895e 100644 --- a/libc/private/bionic_globals.h +++ b/libc/private/bionic_globals.h @@ -50,6 +50,7 @@ struct libc_globals { uintptr_t heap_pointer_tag; _Atomic(bool) memtag_stack; _Atomic(bool) decay_time_enabled; + _Atomic(bool) memtag; // In order to allow a complete switch between dispatch tables without // the need for copying each function by function in the structure, @@ -137,6 +138,7 @@ struct libc_shared_globals { bool initial_memtag_stack = false; int64_t heap_tagging_upgrade_timer_sec = 0; + void (*memtag_stack_dlopen_callback)() = nullptr; pthread_mutex_t crash_detail_page_lock = PTHREAD_MUTEX_INITIALIZER; crash_detail_page_t* crash_detail_page = nullptr; }; |