diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2019-04-07 18:06:34 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2019-05-11 17:15:41 +0200 |
commit | 32eb66881c7f71004d35e904f89651e6a2d64214 (patch) | |
tree | 657d4f212d33d3c0cf06588e0054a349ded6d59c /target/linux/sunxi | |
parent | 9b1239451d6598f39b3689c8c6e0d6147965e601 (diff) | |
download | upstream-32eb66881c7f71004d35e904f89651e6a2d64214.tar.gz upstream-32eb66881c7f71004d35e904f89651e6a2d64214.tar.bz2 upstream-32eb66881c7f71004d35e904f89651e6a2d64214.zip |
kernel: Activate CONFIG_ARM64_SW_TTBR0_PAN
This activates "Emulate Privileged Access Never using TTBR0_EL1
switching" on ARM64.
This should prevent the kernel from reading code from user space in
kernel context.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/sunxi')
-rw-r--r-- | target/linux/sunxi/cortexa53/config-4.14 | 1 | ||||
-rw-r--r-- | target/linux/sunxi/cortexa53/config-4.19 | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/target/linux/sunxi/cortexa53/config-4.14 b/target/linux/sunxi/cortexa53/config-4.14 index b46c4aa414..adb71fca7e 100644 --- a/target/linux/sunxi/cortexa53/config-4.14 +++ b/target/linux/sunxi/cortexa53/config-4.14 @@ -35,7 +35,6 @@ CONFIG_ARM64_PAGE_SHIFT=12 # CONFIG_ARM64_PTDUMP_DEBUGFS is not set # CONFIG_ARM64_RANDOMIZE_TEXT_OFFSET is not set CONFIG_ARM64_SSBD=y -# CONFIG_ARM64_SW_TTBR0_PAN is not set # CONFIG_ARM64_UAO is not set CONFIG_ARM64_VA_BITS=39 CONFIG_ARM64_VA_BITS_39=y diff --git a/target/linux/sunxi/cortexa53/config-4.19 b/target/linux/sunxi/cortexa53/config-4.19 index a35c84b905..2f79acdbc8 100644 --- a/target/linux/sunxi/cortexa53/config-4.19 +++ b/target/linux/sunxi/cortexa53/config-4.19 @@ -37,7 +37,6 @@ CONFIG_ARM64_PA_BITS_48=y # CONFIG_ARM64_PTDUMP_DEBUGFS is not set # CONFIG_ARM64_RANDOMIZE_TEXT_OFFSET is not set CONFIG_ARM64_SSBD=y -# CONFIG_ARM64_SW_TTBR0_PAN is not set # CONFIG_ARM64_UAO is not set CONFIG_ARM64_VA_BITS=39 CONFIG_ARM64_VA_BITS_39=y |