Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp239069ybp; Thu, 10 Oct 2019 17:16:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqzTTIF8hjxf7nTGiyVrCPTTb7+McgynGvnNboxglZ3qmGyz7XMh7MnOnTaPmts4yXq+g8+x X-Received: by 2002:a05:6402:1252:: with SMTP id l18mr10874730edw.64.1570752974268; Thu, 10 Oct 2019 17:16:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570752974; cv=none; d=google.com; s=arc-20160816; b=RVMPjwY/XeQWlh387vznQuTtY/ojVzjEAiKnzKL1o1oQA8Jx6b4DCWmft9jxv1Eyfi rrQvh79ssaISbVABfmE9ltZUI0W5tHR99lSF3jm2TG1uzHmiNfJM/ybK6npuNOMxYfnZ UKKozztwIp6XBqLyCX2T81/ZID2r9QY+jWvtLaEwvBNVrllinWk8BDTRRwJSpJlR65T/ 9IfJmKL3RAmNWF0Tw19ry6i6f/9DIAjNjE6WHQFQSsZsIPVuq3tu36q87OOunP/eKoSF 3lfIjblYix7VFC4N0akGNd+/Sczlq023AiAimyZMVOY1Mz/KJpv46UFRWma2GAKPC93c GoQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=BONbSwO3yUZE8RnSGxOUsa1O5SfUej1bEo+UUtcRz+8=; b=lQYTSXlmi2NqXvhCZ5YUU1VXYinfg7LzShQR+InOUHEybpwmc3lAacLkyww4fVsWS9 G/EGDk1pOTPTc2Ge4Uuaq8BswSTFAy+gN29IG9Wy9dinesB/7fbSGU2aZRX1ecDeEZjO 0IZYM9BzfIkEc1yafhLMMMIjCO6M1usqqrrD71qQEYLRfkhf7/RqIv9xN/koo7hzWaO2 0PxEM7lsLi4yjuYWSXVP6bw7wXMoDcDJ0AiYaxdHswKtHOsR5dEkJEm6FqYAUCsFg0Nv goK2zjjUjMpJ4b1JLME5B5zuedzi/eUayY61gD8CD1JVo28mnjhBAQh82856HtU5tVld pEUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=WAsHYQaw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z4si3977423eji.316.2019.10.10.17.15.51; Thu, 10 Oct 2019 17:16:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=WAsHYQaw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727674AbfJKANA (ORCPT + 99 others); Thu, 10 Oct 2019 20:13:00 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:36997 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727628AbfJKAM7 (ORCPT ); Thu, 10 Oct 2019 20:12:59 -0400 Received: by mail-pf1-f194.google.com with SMTP id y5so4959444pfo.4 for ; Thu, 10 Oct 2019 17:12:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=BONbSwO3yUZE8RnSGxOUsa1O5SfUej1bEo+UUtcRz+8=; b=WAsHYQawMi4SZmZgp8/tZRHbrTyjaN/efP/1ePAdIKhuzenhHAkQSemi72oSFyzy5T BUP8VJmLQCYcSjbNgTQmhLF0rh39giv7Aj/ab5NbcDAnNRa5xqPwvle+ummM9Ru1MTnT 6FSY7l03L75U7xLgPLADUTO/JJnoTeuiDWO4o= 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:in-reply-to :references; bh=BONbSwO3yUZE8RnSGxOUsa1O5SfUej1bEo+UUtcRz+8=; b=jFq0mZguAUpmm4tFkDE8XFgLJKWP9iEq6hvV95KYEzPK63ktZc6Yy9BEINKJHLpZov VOtRn/oSBo5wQfIcCMDl+X/7jlYMwdLmVE6dZlDV1OCJaskx5pMKMOp1PQkBF6K87XSx FCsbBun2t/Gx2TjlOVTVzGlts0mrMHm5zlYDtN+/XdEMXZgullTiVogvALoTq7MiYJBl I/jg0C4cTO8TDGWhLQe6fZzvys8wZH28WgPXALkF/81QvedwEPKkP2LFd3XrnXh/D7xI TIziNaSrzVZ4/QylddcYJLLdGdKrFEEOAkt6UH6tbw+1A3ipY8qtcEqBfZoLBoshd8av trJg== X-Gm-Message-State: APjAAAURDMG4KLiLhW9h9SQeTNEk3pafMGasNbsTPiMgyqeEBrjZh4pE KdMSeapn9xqYD2mN8ofx1oEL0w== X-Received: by 2002:a62:5284:: with SMTP id g126mr13294604pfb.95.1570752778224; Thu, 10 Oct 2019 17:12:58 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id d5sm5379454pjw.31.2019.10.10.17.12.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Oct 2019 17:12:56 -0700 (PDT) From: Kees Cook To: Borislav Petkov Cc: Kees Cook , Rick Edgecombe , Dave Hansen , Andy Lutomirski , Arnd Bergmann , Michael Ellerman , Heiko Carstens , Will Deacon , linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, linux-alpha@vger.kernel.org, linux-ia64@vger.kernel.org, linux-s390@vger.kernel.org, linux-c6x-dev@linux-c6x.org, Yoshinori Sato , Michal Simek , linux-parisc@vger.kernel.org, linux-xtensa@linux-xtensa.org, x86@kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 21/29] ia64: Move EXCEPTION_TABLE to RO_DATA segment Date: Thu, 10 Oct 2019 17:06:01 -0700 Message-Id: <20191011000609.29728-22-keescook@chromium.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191011000609.29728-1-keescook@chromium.org> References: <20191011000609.29728-1-keescook@chromium.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since the EXCEPTION_TABLE is read-only, collapse it into RO_DATA. Signed-off-by: Kees Cook --- arch/ia64/kernel/vmlinux.lds.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/ia64/kernel/vmlinux.lds.S b/arch/ia64/kernel/vmlinux.lds.S index 11d5115bc44d..1ec6b703c5b4 100644 --- a/arch/ia64/kernel/vmlinux.lds.S +++ b/arch/ia64/kernel/vmlinux.lds.S @@ -6,6 +6,7 @@ #include #define EMITS_PT_NOTE +#define RO_EXCEPTION_TABLE_ALIGN 16 #include @@ -70,7 +71,6 @@ SECTIONS { /* * Read-only data */ - EXCEPTION_TABLE(16) /* MCA table */ . = ALIGN(16); -- 2.17.1