Message ID | 20211011143150.318239-7-sxwjean@me.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <SRS0=SV65=O7=kvack.org=owner-linux-mm@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BDAAEC433EF for <linux-mm@archiver.kernel.org>; Mon, 11 Oct 2021 14:34:59 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 6AD3E60E74 for <linux-mm@archiver.kernel.org>; Mon, 11 Oct 2021 14:34:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 6AD3E60E74 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=me.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id 0C29F8000A; Mon, 11 Oct 2021 10:34:59 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 072C480009; Mon, 11 Oct 2021 10:34:59 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id EA3838000A; Mon, 11 Oct 2021 10:34:58 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0155.hostedemail.com [216.40.44.155]) by kanga.kvack.org (Postfix) with ESMTP id DCA9680009 for <linux-mm@kvack.org>; Mon, 11 Oct 2021 10:34:58 -0400 (EDT) Received: from smtpin23.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id A016318033791 for <linux-mm@kvack.org>; Mon, 11 Oct 2021 14:34:58 +0000 (UTC) X-FDA: 78684403476.23.00F3FCB Received: from pv50p00im-ztdg10021201.me.com (pv50p00im-ztdg10021201.me.com [17.58.6.45]) by imf14.hostedemail.com (Postfix) with ESMTP id 51C786002FE4 for <linux-mm@kvack.org>; Mon, 11 Oct 2021 14:34:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1633962897; bh=rMjqF8p2H8lUjZ2VlYFQ5hXfZXc5FGmYjLg2tXh24fE=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=1jVIgJJ+tdFal/9Zs6V3JlJf+4SooXhYBY406CJoFdyCr5gcOh7Eivf5lmdvX9kpn kQMD6EkUU6CISQrvISa45LEB3ECOkXUSrGxCPCVuneWZDtUuo5LAiRLyM2v7T2enT/ GWY3+dvR6J21GfngLP/CCboQfXOu5zT7rBaRoLJFPU5b/vDrPP8Wu1kOkzUWQXVuIl 4nyl6k5FWXhp97NifmxhRz7clQHuYReRnY8FPnmKC01/RdxIXOMXMFzhm7SMgcPuq7 Dcq+FGYRBnm2m8YqcTIfq0MfagGo0gCAmZwNHxH6PSDObW0ZMoAVKGb3k3WzavJu0u 7/HkFEqZgpu6Q== Received: from xiongwei.. (unknown [120.245.2.114]) by pv50p00im-ztdg10021201.me.com (Postfix) with ESMTPSA id 7CC13A402CE; Mon, 11 Oct 2021 14:34:47 +0000 (UTC) From: sxwjean@me.com To: linux-mm@kvack.org, x86@kernel.org Cc: Xiongwei Song <sxwjean@gmail.com>, Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>, Kees Cook <keescook@chromium.org>, "H. Peter Anvin" <hpa@zytor.com>, Dave Hansen <dave.hansen@linux.intel.com>, Andy Lutomirski <luto@kernel.org>, Peter Zijlstra <peterz@infradead.org>, Andrew Morton <akpm@linux-foundation.org>, Arnd Bergmann <arnd@arndb.de>, Al Viro <viro@zeniv.linux.org.uk>, Gabriel Krisman Bertazi <krisman@collabora.com>, Lai Jiangshan <laijs@linux.alibaba.com>, Huang Rui <ray.huang@amd.com>, Yazen Ghannam <yazen.ghannam@amd.com>, Kim Phillips <kim.phillips@amd.com>, Oleg Nesterov <oleg@redhat.com>, Balbir Singh <sblbir@amazon.com>, "David S. Miller" <davem@davemloft.net>, sxwjean@me.com, linux-kernel@vger.kernel.org Subject: [PATCH v2 6/6] x86/elf: Discard ARCH_HAS_ELF_RANDOMIZE selection Date: Mon, 11 Oct 2021 22:31:50 +0800 Message-Id: <20211011143150.318239-7-sxwjean@me.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211011143150.318239-1-sxwjean@me.com> References: <20211011143150.318239-1-sxwjean@me.com> MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.425,18.0.790 definitions=2021-10-11_05:2021-10-07,2021-10-11 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 mlxscore=0 mlxlogscore=679 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2009150000 definitions=main-2110110085 Authentication-Results: imf14.hostedemail.com; dkim=pass header.d=me.com header.s=1a1hai header.b=1jVIgJJ+; spf=pass (imf14.hostedemail.com: domain of sxwjean@me.com designates 17.58.6.45 as permitted sender) smtp.mailfrom=sxwjean@me.com; dmarc=pass (policy=quarantine) header.from=me.com X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 51C786002FE4 X-Stat-Signature: noan6j63ggpk9nhxmzmoh9sb9368u9xe X-HE-Tag: 1633962898-264879 Content-Transfer-Encoding: quoted-printable X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> |
Series |
Use generic code for randomization of virtual address of x86
|
expand
|
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 01a40b710103..2f7fbe06e6b4 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -72,7 +72,6 @@ config X86 select ARCH_HAS_DEBUG_VM_PGTABLE if !X86_PAE select ARCH_HAS_DEVMEM_IS_ALLOWED select ARCH_HAS_EARLY_DEBUG if KGDB - select ARCH_HAS_ELF_RANDOMIZE select ARCH_HAS_FAST_MULTIPLIER select ARCH_HAS_FILTER_PGPROT select ARCH_HAS_FORTIFY_SOURCE