public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] arm64: Kconfig RANDOMIZE_MODULE_REGION_FULL correction
@ 2020-11-07 14:31 Ross Meikleham
  2020-11-09 11:27 ` Will Deacon
  0 siblings, 1 reply; 2+ messages in thread
From: Ross Meikleham @ 2020-11-07 14:31 UTC (permalink / raw)
  To: catalin.marinas; +Cc: trivial, will, linux-arm-kernel

In the 5.1.5 Kernel RANDOMIZE_MODULE_REGION_FULL was a 4GB window,
however this was changed to 2GB from 5.1.6  
(see /arch/arm64/kernel/kaslr.c). This updates the
config description for RANDOMIZE_MODULE_REGION_FULL in /arch/arm64/Kconfig
to reflect this.

Signed-off-by: Ross Meikleham <RossMeikleham@gmail.com>
---
 arch/arm64/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 6d232837cbee..b8fd2c590057 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -1782,11 +1782,11 @@ config RANDOMIZE_BASE
 	  If unsure, say N.
 
 config RANDOMIZE_MODULE_REGION_FULL
-	bool "Randomize the module region over a 4 GB range"
+	bool "Randomize the module region over a 2 GB range"
 	depends on RANDOMIZE_BASE
 	default y
 	help
-	  Randomizes the location of the module region inside a 4 GB window
+	  Randomizes the location of the module region inside a 2 GB window
 	  covering the core kernel. This way, it is less likely for modules
 	  to leak information about the location of core kernel data structures
 	  but it does imply that function calls between modules and the core
-- 
2.18.0

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-09 11:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-07 14:31 [PATCH] arm64: Kconfig RANDOMIZE_MODULE_REGION_FULL correction Ross Meikleham
2020-11-09 11:27 ` Will Deacon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox