kernel: Activate CONFIG_ARM64_SW_TTBR0_PAN
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 22 Apr 2023 17:52:22 +0000 (19:52 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 29 Apr 2023 19:56:53 +0000 (21:56 +0200)
commitca5555d27e6c62229a3f17d7ac2158d3c24b6af9
treeb3fe0a4f93a6a3e3ffa044ad11f781a5d4435c5b
parent626b37d70aad163089598e33da2590f838f6dd8c
kernel: Activate CONFIG_ARM64_SW_TTBR0_PAN

This activates the CONFIG_ARM64_SW_TTBR0_PAN option for all arm64
kernels by default.

The CONFIG_ARM64_SW_TTBR0_PAN option prevents the kernel form accessing
user space memory directly. This makes it harder to exploit the kernel.

This is activated by default and was already activate on all other arm64
targets before.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/mediatek/filogic/config-5.15
target/linux/mediatek/mt7622/config-5.15
target/linux/rockchip/armv8/config-5.10
target/linux/rockchip/armv8/config-5.15