kernel: Activate CONFIG_ARM64_SW_TTBR0_PAN
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 7 Apr 2019 16:06:34 +0000 (18:06 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 11 May 2019 15:15:41 +0000 (17:15 +0200)
commit32eb66881c7f71004d35e904f89651e6a2d64214
tree657d4f212d33d3c0cf06588e0054a349ded6d59c
parent9b1239451d6598f39b3689c8c6e0d6147965e601
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>
target/linux/armvirt/64/config-default
target/linux/brcm2708/bcm2710/config-4.14
target/linux/generic/config-4.14
target/linux/generic/config-4.19
target/linux/layerscape/armv8_64b/config-4.14
target/linux/mediatek/mt7622/config-4.14
target/linux/mvebu/cortexa53/config-default
target/linux/mvebu/cortexa72/config-default
target/linux/octeontx/config-4.14
target/linux/sunxi/cortexa53/config-4.14
target/linux/sunxi/cortexa53/config-4.19