aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--android-5.10/android-base-conditional.xml8
-rw-r--r--android-5.4/android-recommended-arm64.config1
-rw-r--r--android-5.4/android-recommended-x86.config1
3 files changed, 10 insertions, 0 deletions
diff --git a/android-5.10/android-base-conditional.xml b/android-5.10/android-base-conditional.xml
index 398cb8b..04ac88d 100644
--- a/android-5.10/android-base-conditional.xml
+++ b/android-5.10/android-base-conditional.xml
@@ -84,6 +84,10 @@
<value type="bool">y</value>
</config>
<config>
+ <key>CONFIG_KFENCE</key>
+ <value type="bool">y</value>
+ </config>
+ <config>
<key>CONFIG_USERFAULTFD</key>
<value type="bool">y</value>
</config>
@@ -102,6 +106,10 @@
<value type="bool">n</value>
</config>
<config>
+ <key>CONFIG_KFENCE</key>
+ <value type="bool">y</value>
+ </config>
+ <config>
<key>CONFIG_PAGE_TABLE_ISOLATION</key>
<value type="bool">y</value>
</config>
diff --git a/android-5.4/android-recommended-arm64.config b/android-5.4/android-recommended-arm64.config
index 16ec836..755dfc3 100644
--- a/android-5.4/android-recommended-arm64.config
+++ b/android-5.4/android-recommended-arm64.config
@@ -3,5 +3,6 @@ CONFIG_ARM64_CRYPTO=y
CONFIG_ARM64_SW_TTBR0_PAN=y
CONFIG_CRYPTO_AES_ARM64_CE_BLK=y
CONFIG_CRYPTO_SHA2_ARM64_CE=y
+CONFIG_KFENCE=y
CONFIG_RANDOMIZE_BASE=y
CONFIG_RELOCATABLE=y
diff --git a/android-5.4/android-recommended-x86.config b/android-5.4/android-recommended-x86.config
index 0388b3f..fe497f2 100644
--- a/android-5.4/android-recommended-x86.config
+++ b/android-5.4/android-recommended-x86.config
@@ -1,5 +1,6 @@
# KEEP ALPHABETICALLY SORTED
CONFIG_CRYPTO_AES_NI_INTEL=y
CONFIG_CRYPTO_SHA256_SSSE3=y
+CONFIG_KFENCE=y
CONFIG_RANDOMIZE_BASE=y
CONFIG_RELOCATABLE=y