mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-22 04:25:21 +00:00
resources: Enable KASLR in kernel config
This option improves the security of the guest by randomising the start address of the kernel in physical memory. We should turn this on so as to ensure all our functionality such as memory hotplug and kernel loading works as this is an option used widely in production. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
bba5ef3a59
commit
77ee331be0
@ -411,8 +411,12 @@ CONFIG_ARCH_HAS_KEXEC_PURGATORY=y
|
||||
# CONFIG_CRASH_DUMP is not set
|
||||
CONFIG_PHYSICAL_START=0x1000000
|
||||
CONFIG_RELOCATABLE=y
|
||||
# CONFIG_RANDOMIZE_BASE is not set
|
||||
CONFIG_RANDOMIZE_BASE=y
|
||||
CONFIG_X86_NEED_RELOCS=y
|
||||
CONFIG_PHYSICAL_ALIGN=0x1000000
|
||||
CONFIG_DYNAMIC_MEMORY_LAYOUT=y
|
||||
CONFIG_RANDOMIZE_MEMORY=y
|
||||
CONFIG_RANDOMIZE_MEMORY_PHYSICAL_PADDING=0xa
|
||||
CONFIG_HOTPLUG_CPU=y
|
||||
# CONFIG_BOOTPARAM_HOTPLUG_CPU0 is not set
|
||||
# CONFIG_DEBUG_HOTPLUG_CPU0 is not set
|
||||
|
Loading…
x
Reference in New Issue
Block a user