summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2021-02-24 00:26:50 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-02-24 00:26:50 +0000
commit6161970fa29ea6792f4f2922c010e6adcb50243d (patch)
tree3e08a027ab7b96cc71ae8c9b466eb5887f774f79 /libc
parent14851abce9d6b46140760d9e73c43a8b045bc24e (diff)
parentbf917866f530ffdce19df1e1fe4c7b258c27a15e (diff)
Merge "Make __libc_init_scudo() weak for native bridge."
Diffstat (limited to 'libc')
-rw-r--r--libc/bionic/libc_init_common.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/bionic/libc_init_common.cpp b/libc/bionic/libc_init_common.cpp
index 01cd2e591..a710fa826 100644
--- a/libc/bionic/libc_init_common.cpp
+++ b/libc/bionic/libc_init_common.cpp
@@ -86,6 +86,7 @@ static void arc4random_fork_handler() {
_thread_arc4_lock();
}
+__BIONIC_WEAK_FOR_NATIVE_BRIDGE
void __libc_init_scudo() {
// Heap tagging level *must* be set before interacting with Scudo, otherwise
// the primary will be mapped with PROT_MTE even if MTE is is not enabled in