From patchwork Fri Jul 6 15:38:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamal Mostafa X-Patchwork-Id: 940571 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41MfD30p9bz9s4r; Sat, 7 Jul 2018 01:44:18 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1fbSu1-0006cy-FY; Fri, 06 Jul 2018 15:44:09 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.86_2) (envelope-from ) id 1fbSu0-0006cr-5n for kernel-team@lists.ubuntu.com; Fri, 06 Jul 2018 15:44:08 +0000 Received: from 1.general.kamal.us.vpn ([10.172.68.52] helo=fourier) by youngberry.canonical.com with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1fbStz-0004lQ-PY for kernel-team@lists.ubuntu.com; Fri, 06 Jul 2018 15:44:07 +0000 Received: from kamal by fourier with local (Exim 4.86_2) (envelope-from ) id 1fbSoS-0003fI-K5 for kernel-team@lists.ubuntu.com; Fri, 06 Jul 2018 08:38:24 -0700 From: Kamal Mostafa To: kernel-team@lists.ubuntu.com Subject: [linux-kvm-bionic][PATCH 2/2] UBUNTU: kvm: [Config] Enable CONFIG_HARDENED_USERCOPY Date: Fri, 6 Jul 2018 08:38:22 -0700 Message-Id: <1530891502-14019-3-git-send-email-kamal@canonical.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1530891502-14019-1-git-send-email-kamal@canonical.com> References: <1530891502-14019-1-git-send-email-kamal@canonical.com> X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/1766777 Signed-off-by: Kamal Mostafa --- 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