From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751559AbeA2Jvd (ORCPT ); Mon, 29 Jan 2018 04:51:33 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:54665 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751169AbeA2Jvc (ORCPT ); Mon, 29 Jan 2018 04:51:32 -0500 X-Google-Smtp-Source: AH8x2252sH9aI6QEyDM6KQlLeoaBoTe5G5Kf2ORvk3xcmq1jo/+LaoGB2cqkTR64/hDXnK7HYdkR4Q== Date: Mon, 29 Jan 2018 10:51:28 +0100 From: Ingo Molnar To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, Thomas Gleixner , Peter Zijlstra , Andrew Morton Subject: [GIT PULL] Make /dev/mem CONFIG_STRICT_DEVMEM=y the default on x86 and arm64 Message-ID: <20180129095128.xwwrsa4clrrvduca@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Linus, Please pull the latest core-debug-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-debug-for-linus # HEAD: 0f7cda2b824bb2afe0d75716a8664117fa03f5e0 Kconfig: Make STRICT_DEVMEM default-y on x86 and arm64 Make CONFIG_STRICT_DEVMEM default-y on x86 and arm64 as well, to follow the distro status quo. Thanks, Ingo ------------------> Kees Cook (1): Kconfig: Make STRICT_DEVMEM default-y on x86 and arm64 lib/Kconfig.debug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 947d3e2ed5c2..39b123d04a36 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -1985,7 +1985,7 @@ config STRICT_DEVMEM bool "Filter access to /dev/mem" depends on MMU && DEVMEM depends on ARCH_HAS_DEVMEM_IS_ALLOWED - default y if TILE || PPC + default y if TILE || PPC || X86 || ARM64 ---help--- If this option is disabled, you allow userspace (root) access to all of memory, including kernel and userspace memory. Accidental