[linux-kvm-bionic][PATCH 2/2] UBUNTU: kvm: [Config] Enable CONFIG_HARDENED_USERCOPY

Kamal Mostafa kamal at canonical.com
Fri Jul 6 15:38:22 UTC 2018


BugLink: https://bugs.launchpad.net/bugs/1766777

Signed-off-by: Kamal Mostafa <kamal at canonical.com>
---
 debian.kvm/config/config.common.ubuntu | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian.kvm/config/config.common.ubuntu b/debian.kvm/config/config.common.ubuntu
index 42a15c8..6087b19 100644
--- a/debian.kvm/config/config.common.ubuntu
+++ b/debian.kvm/config/config.common.ubuntu
@@ -796,7 +796,8 @@ CONFIG_GRO_CELLS=y
 # CONFIG_GUP_BENCHMARK is not set
 # CONFIG_HAMRADIO is not set
 # CONFIG_HANGCHECK_TIMER is not set
-# CONFIG_HARDENED_USERCOPY is not set
+CONFIG_HARDENED_USERCOPY=y
+# CONFIG_HARDENED_USERCOPY_PAGESPAN is not set
 CONFIG_HARDLOCKUP_CHECK_TIMESTAMP=y
 # CONFIG_HARDLOCKUP_DETECTOR is not set
 CONFIG_HAS_DMA=y
-- 
2.7.4





More information about the kernel-team mailing list