]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
arm64: Kconfig: Add CONFIG_UNMAP_KERNEL_AT_EL0
authorWill Deacon <will.deacon@arm.com>
Tue, 14 Nov 2017 14:41:01 +0000 (14:41 +0000)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 22 Feb 2018 14:15:46 +0000 (08:15 -0600)
commitf86e734f07d3807c177e00fb61d8385556cee6cd
tree51b9810a08050c995aa950bf73ac1e1e6a68cfe2
parent9fd39c5f17ddb49dce847f659fb73dfe7f5a7bcb
arm64: Kconfig: Add CONFIG_UNMAP_KERNEL_AT_EL0

BugLink: http://bugs.launchpad.net/bugs/1751064
Commit 084eb77cd3a8 upstream.

Add a Kconfig entry to control use of the entry trampoline, which allows
us to unmap the kernel whilst running in userspace and improve the
robustness of KASLR.

Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Tested-by: Laura Abbott <labbott@redhat.com>
Tested-by: Shanker Donthineni <shankerd@codeaurora.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
arch/arm64/Kconfig