From patchwork Fri Jan 13 11:37:34 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leif Lindholm X-Patchwork-Id: 91317 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp145801qgi; Fri, 13 Jan 2017 03:38:04 -0800 (PST) X-Received: by 10.84.234.23 with SMTP id m23mr28827030plk.89.1484307483943; Fri, 13 Jan 2017 03:38:03 -0800 (PST) Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id 65si12484171plh.232.2017.01.13.03.38.03 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Jan 2017 03:38:03 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) client-ip=2001:1868:205::9; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) smtp.mailfrom=linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cS0BG-0002K3-Hh; Fri, 13 Jan 2017 11:38:02 +0000 Received: from mail-wm0-x233.google.com ([2a00:1450:400c:c09::233]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cS0BD-0002Ie-IV for linux-arm-kernel@lists.infradead.org; Fri, 13 Jan 2017 11:38:01 +0000 Received: by mail-wm0-x233.google.com with SMTP id r126so61252380wmr.0 for ; Fri, 13 Jan 2017 03:37:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=PkbiaWmNazpQ0plxBjIbzyK7bZg4GGXKY17JIg8zCo8=; b=LrVAFYGlMi1Y+c4YyGyLgD4oMSzlKlKPFi1CO3X0vCCZYTKlOL97rOgPq23g66mBgq cSeLgF0Nn4gSnJ5BJQZ1VzS66VupGRhgKW+6yw/j72Nh8BC+o+0/bywl65efTcpP8ba6 tG40if8P0AMPVnEJKVlcfDKYQ2643xqpXiBl0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=PkbiaWmNazpQ0plxBjIbzyK7bZg4GGXKY17JIg8zCo8=; b=krjT7eeWveqZh4nEud+wie+ufkHJY2EOz886Ed53/4XkeLpfwv44tRjq3QyT5q73SH Zj2En5kUJMkx1DD2GA1Oa5IEe7wnPVVvef+CdO6HWLVazqfwb30Q1PYZ4iMYg3K6mNc2 j/W87l+WDYOgbxlHzQrDjeBX+pDdO3RIitmeERWP6InYp67zJEvJZK8l+cUs0kaJCcS2 hTgXDevKt7jOuhKJBiExDNrV+3VZ5YuM8hSAU0q9+eb2+I9AxxInk283JRcPHTac332g S/59P2BG3+SLoJEaiqd/wPIvjHkwa4F3yLHNe5q2rp/HpWavu5iSudw6sbIKMP6nYbvD y9CQ== X-Gm-Message-State: AIkVDXJ3EOs5l9mvmcxZDm9jWSy9mjnrydITZ+iLeUFWo3P3GbhQfYhhe9XOt8SPKvXQ/0z1 X-Received: by 10.223.143.48 with SMTP id p45mr11313308wrb.33.1484307457158; Fri, 13 Jan 2017 03:37:37 -0800 (PST) Received: from mohikan.hemma.eciton.net ([2a01:348:6:8735:e23f:49ff:fe6d:9d26]) by smtp.gmail.com with ESMTPSA id z134sm3663708wmc.20.2017.01.13.03.37.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Jan 2017 03:37:36 -0800 (PST) From: Leif Lindholm To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] arm64: defconfig: disable CONFIG_DEVMEM Date: Fri, 13 Jan 2017 11:37:34 +0000 Message-Id: <20170113113734.16524-1-leif.lindholm@linaro.org> X-Mailer: git-send-email 2.10.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170113_033759_763487_D3FA36EB X-CRM114-Status: UNSURE ( 9.23 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2a00:1450:400c:c09:0:0:0:233 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Catalin Marinas , Will Deacon , Arnd Bergmann , Ard Biesheuvel MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org /dev/mem is the opposite of what an operating system is for. Additionally, on arm* it opens up for denial-of-service attacks from userspace. So leave it disabled by default, requiring people who need it to enable it explicitly. Signed-off-by: Leif Lindholm --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) -- 2.10.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel Acked-by: Ard Biesheuvel Acked-by: Mark Rutland diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 33b744d..55ba73a 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -210,6 +210,7 @@ CONFIG_INPUT_HISI_POWERKEY=y # CONFIG_SERIO_SERPORT is not set CONFIG_SERIO_AMBAKMI=y CONFIG_LEGACY_PTY_COUNT=16 +# CONFIG_DEVMEM is not set CONFIG_SERIAL_8250=y CONFIG_SERIAL_8250_CONSOLE=y CONFIG_SERIAL_8250_EXTENDED=y