diff --git a/wsl2_defconfig b/wsl2_defconfig index 52954d3..5c95588 100644 --- a/wsl2_defconfig +++ b/wsl2_defconfig @@ -72,6 +72,7 @@ CONFIG_X86_PMEM_LEGACY=y # CONFIG_MTRR_SANITIZER is not set # CONFIG_X86_KERNEL_IBT is not set CONFIG_X86_SGX=y +CONFIG_X86_USER_SHADOW_STACK=y CONFIG_EFI=y CONFIG_EFI_STUB=y CONFIG_EFI_MIXED=y @@ -97,6 +98,7 @@ CONFIG_KVM_AMD=y CONFIG_KVM_XEN=y CONFIG_KPROBES=y CONFIG_LTO_CLANG_THIN=y +CONFIG_CFI_CLANG=y CONFIG_RANDOMIZE_KSTACK_OFFSET_DEFAULT=y CONFIG_MODULES=y CONFIG_MODULE_FORCE_LOAD=y