Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp234406ybp; Thu, 10 Oct 2019 17:10:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqwFcVa/1R/znnKCow+jV3L8vn6cv0Xwqd9AsgZiH5KJiKGqKK1v1A6aGaRFHRdk56XnJrlY X-Received: by 2002:a17:906:4548:: with SMTP id s8mr11097868ejq.198.1570752654542; Thu, 10 Oct 2019 17:10:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570752654; cv=none; d=google.com; s=arc-20160816; b=gGLEvkLdYjqzef/9odWjHsKe9F/o0yH16nyol3A+x13w7SW8QOa8YMkLsVuohjeE/6 +ike1opD9fgX85LyufBaI8Ulosbpu9aqtjll0lKZs45nkRF8uaQ3UYiNrenxg8k380Z7 xIr7YT3Sp5u0V/bZ3UPTLwAXxU4ptXGwSCVbbwp4uYWdORN/+cugE8MiWbD2QHoePogk aAow0hL9GU3omt3xoxNsN1EP952SCub4wJDyQiLr8aW0xdkouNAnyxXfKz5e6585oB0E 1/cXQy95UuGJRKe/8VHEQjyJ1sRtT2h4rPc0nmQswVZPLS8q10t9iXOj94sGqVJV2nsS 6C2w== 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=7MxClQbH59XRrbTRajW1Gh8uACzcU2+htsVcXyM7D1g=; b=oC7daANuqOorwD/4xkFwRbCQ/fiLUGID2W0RBUQxhuOUyZZ7MJqaizRvU7SZHqmk9w 1997Xt8xVazAKxb20kRqrF2tSqBzz5dydxeMIWLHGmFWuXCjObT6ePiYxAgo4tLXG7Me Gs9OdAJLGeUpDg5e4lzAqzyC/Z/TNeG2uENUB4Avqpt4mbL+EcPvsF5vf0C44gKcFpvQ f6myeKXhXr6harDBSLpTQfl5pnwoyjEVODOSV/xF4nHyBeN4rzFYzcBNWCDWEk3Gv2GI HH56i/B+ucANrL85KBbdkQL617QXQSkgwrWsg8Ftui7rEbkY6+CHbt91wCwKw4MUyp8g rhRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=TBJeuKMY; 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 8si4796102edz.299.2019.10.10.17.10.31; Thu, 10 Oct 2019 17:10:54 -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=TBJeuKMY; 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 S1727177AbfJKAH1 (ORCPT + 99 others); Thu, 10 Oct 2019 20:07:27 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:45788 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727520AbfJKAGZ (ORCPT ); Thu, 10 Oct 2019 20:06:25 -0400 Received: by mail-pg1-f195.google.com with SMTP id r1so3497686pgj.12 for ; Thu, 10 Oct 2019 17:06:24 -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=7MxClQbH59XRrbTRajW1Gh8uACzcU2+htsVcXyM7D1g=; b=TBJeuKMY2z8zTRQ1bFw/ImZS5YFoYQAHk+uSCJMry9jQKOeGheQ5i7gXGHU01GWcTB uOgoFqPErAXZia+mP12x9qnkRfY1Ys9PjUB5SmB5We4kWHLZQ5n99yhQi0dIKcFUZu6/ hILLkVhE9upOn1PuRtaesOlh4SL00TV9kLm5U= 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=7MxClQbH59XRrbTRajW1Gh8uACzcU2+htsVcXyM7D1g=; b=IomQNa+VujFjGuY+4XhjPnYADzJW7gY3xpoXHfjlbxXRSc3oDLwhBs+FI5RKl39ORb k9G9JXeIaWxTbqMJ1VqwyCeJSrVNLcZ1cM4/6Nxw6x4pgbVBAPfe2NbDitLFoXfhIjjy gpcBt8VSgZGJmPvSyewmMpVS0vCXGMyt/13XrNnaZcdROcnn2i1bBZiDD4MV0ouiBwAO Bzq6yggCGIdNA8vGbqrtq0kUCJSa6lMwTc0tcwN2cJDpLnb+rOsStrxJoNjFPEIWFSAl LNLGAgpGeacGxOxOwbGt4P37w7bgX2UBHbVf+bIIx/CRD5aF8gWgVdjjS19P7DiG/Vtx L4pQ== X-Gm-Message-State: APjAAAX439azLk/BXNGH4jwgPRTgoa5dszbNkjLM3GS4pw82FXWPH2wx nstec0Jh1sxFXLHxlXWchhyDxA== X-Received: by 2002:a62:5bc1:: with SMTP id p184mr12930072pfb.180.1570752383534; Thu, 10 Oct 2019 17:06:23 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id d5sm5372814pjw.31.2019.10.10.17.06.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Oct 2019 17:06:20 -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 04/29] alpha: Rename PT_LOAD identifier "kernel" to "text" Date: Thu, 10 Oct 2019 17:05:44 -0700 Message-Id: <20191011000609.29728-5-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 In preparation for moving NOTES into RO_DATA, rename the linker script internal identifier for the PT_LOAD Program Header from "kernel" to "text" to match other architectures. Signed-off-by: Kees Cook --- arch/alpha/kernel/vmlinux.lds.S | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/alpha/kernel/vmlinux.lds.S b/arch/alpha/kernel/vmlinux.lds.S index c4b5ceceab52..781090cacc96 100644 --- a/arch/alpha/kernel/vmlinux.lds.S +++ b/arch/alpha/kernel/vmlinux.lds.S @@ -8,7 +8,7 @@ OUTPUT_FORMAT("elf64-alpha") OUTPUT_ARCH(alpha) ENTRY(__start) -PHDRS { kernel PT_LOAD; note PT_NOTE; } +PHDRS { text PT_LOAD; note PT_NOTE; } jiffies = jiffies_64; SECTIONS { @@ -27,14 +27,14 @@ SECTIONS LOCK_TEXT *(.fixup) *(.gnu.warning) - } :kernel + } :text swapper_pg_dir = SWAPPER_PGD; _etext = .; /* End of text section */ - NOTES :kernel :note + NOTES :text :note .dummy : { *(.dummy) - } :kernel + } :text RODATA EXCEPTION_TABLE(16) -- 2.17.1