]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - arch/x86/Kconfig
objtool, retpolines: Integrate objtool with retpoline support more closely
[mirror_ubuntu-hirsute-kernel.git] / arch / x86 / Kconfig
index 63bf349b2b24a8807c4f65869af50bab99e4c2f7..c1aed6c0e41379bc1332d0397326c9e699193586 100644 (file)
@@ -436,6 +436,7 @@ config GOLDFISH
 config RETPOLINE
        bool "Avoid speculative indirect branches in kernel"
        default y
+       select STACK_VALIDATION if HAVE_STACK_VALIDATION
        help
          Compile kernel with the retpoline compiler options to guard against
          kernel-to-user data leaks by avoiding speculative indirect