]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
arm64: Kconfig: Reword UNMAP_KERNEL_AT_EL0 kconfig entry
authorWill Deacon <will.deacon@arm.com>
Tue, 14 Nov 2017 16:19:39 +0000 (16:19 +0000)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 22 Feb 2018 14:15:46 +0000 (08:15 -0600)
commit4225a53be119d8bf77032b01e22703011b796481
treebd4a8286d64106dbca710060069ddf9a764823c0
parentf86e734f07d3807c177e00fb61d8385556cee6cd
arm64: Kconfig: Reword UNMAP_KERNEL_AT_EL0 kconfig entry

BugLink: http://bugs.launchpad.net/bugs/1751064
Commit 0617052ddde3 upstream.

Although CONFIG_UNMAP_KERNEL_AT_EL0 does make KASLR more robust, it's
actually more useful as a mitigation against speculation attacks that
can leak arbitrary kernel data to userspace through speculation.

Reword the Kconfig help message to reflect this, and make the option
depend on EXPERT so that it is on by default for the majority of users.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
arch/arm64/Kconfig