From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter =?utf-8?q?M=C3=BCller?= To: development@lists.ipfire.org Subject: [PATCH] kernel: enable CONFIG_RANDOMIZE_MEMORY on i586 aarch64 and, armv5tel Date: Tue, 09 Jun 2020 17:15:49 +0000 Message-ID: <51cf736d-3c60-0eeb-90e3-90d498f39789@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============9211901454334821279==" List-Id: --===============9211901454334821279== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Fixes: #12364 Cc: Arne Fitzenreiter Signed-off-by: Peter M=C3=BCller --- config/kernel/kernel.config.aarch64-ipfire | 2 ++ config/kernel/kernel.config.armv5tel-ipfire-multi | 2 ++ config/kernel/kernel.config.i586-ipfire | 2 ++ 3 files changed, 6 insertions(+) diff --git a/config/kernel/kernel.config.aarch64-ipfire b/config/kernel/kerne= l.config.aarch64-ipfire index e0f2f6df8..b3c397a3c 100644 --- a/config/kernel/kernel.config.aarch64-ipfire +++ b/config/kernel/kernel.config.aarch64-ipfire @@ -519,6 +519,8 @@ CONFIG_ARM64_VA_BITS=3D39 CONFIG_SCHED_MC=3Dy CONFIG_SCHED_SMT=3Dy CONFIG_NR_CPUS=3D8 +CONFIG_RANDOMIZE_MEMORY=3Dy +CONFIG_RANDOMIZE_MEMORY_PHYSICAL_PADDING=3D0x0 CONFIG_HOTPLUG_CPU=3Dy # CONFIG_NUMA is not set CONFIG_HOLES_IN_ZONE=3Dy diff --git a/config/kernel/kernel.config.armv5tel-ipfire-multi b/config/kerne= l/kernel.config.armv5tel-ipfire-multi index 15183300f..a314baa73 100644 --- a/config/kernel/kernel.config.armv5tel-ipfire-multi +++ b/config/kernel/kernel.config.armv5tel-ipfire-multi @@ -776,6 +776,8 @@ CONFIG_VMSPLIT_3G=3Dy # CONFIG_VMSPLIT_1G is not set CONFIG_PAGE_OFFSET=3D0xC0000000 CONFIG_NR_CPUS=3D8 +CONFIG_RANDOMIZE_MEMORY=3Dy +CONFIG_RANDOMIZE_MEMORY_PHYSICAL_PADDING=3D0x0 CONFIG_HOTPLUG_CPU=3Dy CONFIG_ARM_PSCI=3Dy CONFIG_ARCH_NR_GPIO=3D512 diff --git a/config/kernel/kernel.config.i586-ipfire b/config/kernel/kernel.c= onfig.i586-ipfire index 578931497..a86a76c05 100644 --- a/config/kernel/kernel.config.i586-ipfire +++ b/config/kernel/kernel.config.i586-ipfire @@ -628,6 +628,8 @@ CONFIG_RELOCATABLE=3Dy CONFIG_RANDOMIZE_BASE=3Dy CONFIG_X86_NEED_RELOCS=3Dy CONFIG_PHYSICAL_ALIGN=3D0x400000 +CONFIG_RANDOMIZE_MEMORY=3Dy +CONFIG_RANDOMIZE_MEMORY_PHYSICAL_PADDING=3D0x0 CONFIG_HOTPLUG_CPU=3Dy # CONFIG_BOOTPARAM_HOTPLUG_CPU0 is not set # CONFIG_DEBUG_HOTPLUG_CPU0 is not set --=20 2.26.2 --===============9211901454334821279==--