Skip to content

Commit

Permalink
[Kernel Config] Re-enable CFI & CET (#62)
Browse files Browse the repository at this point in the history
config: re-enable cfi & cet

Re-enable CFI & CET as they don't make wsl not booting now.
  • Loading branch information
Locietta authored May 18, 2024
1 parent 522d079 commit 33d892f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wsl2_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 33d892f

Please sign in to comment.