0061-x86-unwinder-Make-CONFIG_UNWINDER_ORC-y-the-default-.patch 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. From a405dd2b4172c310101f96c2152598bc24e9e6f8 Mon Sep 17 00:00:00 2001
  2. From: Ingo Molnar <[email protected]>
  3. Date: Thu, 12 Oct 2017 09:24:30 +0200
  4. Subject: [PATCH 061/232] x86/unwinder: Make CONFIG_UNWINDER_ORC=y the default
  5. in the 64-bit defconfig
  6. MIME-Version: 1.0
  7. Content-Type: text/plain; charset=UTF-8
  8. Content-Transfer-Encoding: 8bit
  9. CVE-2017-5754
  10. Increase testing coverage by turning on the primary x86 unwinder for
  11. the 64-bit defconfig.
  12. Cc: Josh Poimboeuf <[email protected]>
  13. Cc: Linus Torvalds <[email protected]>
  14. Cc: Peter Zijlstra <[email protected]>
  15. Cc: Thomas Gleixner <[email protected]>
  16. Cc: [email protected]
  17. Signed-off-by: Ingo Molnar <[email protected]>
  18. (cherry picked from commit 1e4078f0bba46ad61b69548abe6a6faf63b89380)
  19. Signed-off-by: Andy Whitcroft <[email protected]>
  20. Signed-off-by: Kleber Sacilotto de Souza <[email protected]>
  21. (cherry picked from commit ebcba768c005dce435721f6c998e3afdf5534666)
  22. Signed-off-by: Fabian Grünbichler <[email protected]>
  23. ---
  24. arch/x86/configs/x86_64_defconfig | 1 +
  25. 1 file changed, 1 insertion(+)
  26. diff --git a/arch/x86/configs/x86_64_defconfig b/arch/x86/configs/x86_64_defconfig
  27. index 4a4b16e56d35..eb65c248708d 100644
  28. --- a/arch/x86/configs/x86_64_defconfig
  29. +++ b/arch/x86/configs/x86_64_defconfig
  30. @@ -299,6 +299,7 @@ CONFIG_DEBUG_STACKOVERFLOW=y
  31. # CONFIG_DEBUG_RODATA_TEST is not set
  32. CONFIG_DEBUG_BOOT_PARAMS=y
  33. CONFIG_OPTIMIZE_INLINING=y
  34. +CONFIG_ORC_UNWINDER=y
  35. CONFIG_SECURITY=y
  36. CONFIG_SECURITY_NETWORK=y
  37. CONFIG_SECURITY_SELINUX=y
  38. --
  39. 2.14.2