Linux 6.7-rc7
[linux-modified.git] / arch / arm64 / configs / hardening.config
1 # Basic kernel hardening options (specific to arm64)
2
3 # Make sure PAN emulation is enabled.
4 CONFIG_ARM64_SW_TTBR0_PAN=y
5
6 # Software Shadow Stack or PAC
7 CONFIG_SHADOW_CALL_STACK=y
8
9 # Pointer authentication (ARMv8.3 and later). If hardware actually supports
10 # it, one can turn off CONFIG_STACKPROTECTOR_STRONG with this enabled.
11 CONFIG_ARM64_PTR_AUTH=y
12 CONFIG_ARM64_PTR_AUTH_KERNEL=y
13
14 # Available in ARMv8.5 and later.
15 CONFIG_ARM64_BTI=y
16 CONFIG_ARM64_BTI_KERNEL=y
17 CONFIG_ARM64_MTE=y
18 CONFIG_KASAN_HW_TAGS=y
19 CONFIG_ARM64_E0PD=y
20
21 # Available in ARMv8.7 and later.
22 CONFIG_ARM64_EPAN=y