DivestOS/Patches/LineageOS-18.1/android_build_soong/0002-hm_apex.patch

22 lines
625 B
Diff
Raw Normal View History

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: anupritaisno1 <www.anuprita804@gmail.com>
Date: Sun, 13 Sep 2020 09:35:41 +0000
Subject: [PATCH] make hardened malloc available to apexes
---
apex/apex.go | 1 +
1 file changed, 1 insertion(+)
diff --git a/apex/apex.go b/apex/apex.go
index f86a0866e..77a75c17f 100644
--- a/apex/apex.go
+++ b/apex/apex.go
@@ -570,6 +570,7 @@ func makeApexAvailableBaseline() map[string][]string {
"libdexfile_support",
"libdexfile_support_static",
"libdl_static",
+ "libhardened_malloc",
"libjemalloc5",
"liblinker_main",
"liblinker_malloc",