diff mbox series

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

Message ID 1530891502-14019-3-git-send-email-kamal@canonical.com
State New
Headers show
Series None | expand

Commit Message

Kamal Mostafa July 6, 2018, 3:38 p.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1766777

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

Patch

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