hardening.config 473 B

1234567891011121314151617
  1. # Basic kernel hardening options (specific to x86)
  2. # Modern libc no longer needs a fixed-position mapping in userspace, remove
  3. # it as a possible target.
  4. CONFIG_LEGACY_VSYSCALL_NONE=y
  5. # Enable chip-specific IOMMU support.
  6. CONFIG_INTEL_IOMMU=y
  7. CONFIG_INTEL_IOMMU_DEFAULT_ON=y
  8. CONFIG_INTEL_IOMMU_SVM=y
  9. CONFIG_AMD_IOMMU=y
  10. # Enforce CET Indirect Branch Tracking in the kernel.
  11. CONFIG_X86_KERNEL_IBT=y
  12. # Enable CET Shadow Stack for userspace.
  13. CONFIG_X86_USER_SHADOW_STACK=y