]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blobdiff - arch/powerpc/platforms/Kconfig.cputype
powerpc: Add skeleton for Kernel Userspace Execution Prevention
[mirror_ubuntu-eoan-kernel.git] / arch / powerpc / platforms / Kconfig.cputype
index 842b2c7e156aba4cb2a04d8897fb7aa6128c3b4d..7d30bbbaa3c1a3086a2be40862d0ab9de5c2c259 100644 (file)
@@ -345,6 +345,18 @@ config PPC_RADIX_MMU_DEFAULT
 
          If you're unsure, say Y.
 
+config PPC_HAVE_KUEP
+       bool
+
+config PPC_KUEP
+       bool "Kernel Userspace Execution Prevention"
+       depends on PPC_HAVE_KUEP
+       default y
+       help
+         Enable support for Kernel Userspace Execution Prevention (KUEP)
+
+         If you're unsure, say Y.
+
 config ARCH_ENABLE_HUGEPAGE_MIGRATION
        def_bool y
        depends on PPC_BOOK3S_64 && HUGETLB_PAGE && MIGRATION