From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E7E11ECE58C for ; Fri, 11 Oct 2019 16:11:57 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BB28F206CD for ; Fri, 11 Oct 2019 16:11:57 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="P2B0lw4C"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="U5/N6JMi" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BB28F206CD Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=NMNgKjqmhAfWZJ+FW7pCwPtdd6pBQ8EZD/CxYwGKdi4=; b=P2B0lw4C/NAc0f mJonOBB/iYEYhcQTtaE0IvqUdupVPQe2DHHDoQnlQ5jXECNvhE2DhzafUMi3o3GcgebOWcSNRJdK8 tL7Bm1nMzSF0J8WhXc+lVSr8M+qIwL4uLEkQH7BwGtpsPboW6J3fqOLsH1lCiWaY+pK3ziYIn3/2N X3117IYgbsvF7nB928fsX29M8loHRd8w9PswvR7U9O1YXnusqXSq6NUs9al5sVm9T4DlNErTFxdn2 4TNxONzb723QB+LuGbS6dnjDAyPPWarIXx0zil6tAzzBPCLfMr2eirX/ZudBlQ94gyv6BoiKt7CeL KZxinWKg5Nz80capU3Ng==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iIxW9-0001qq-5k; Fri, 11 Oct 2019 16:11:49 +0000 Received: from mail-pl1-x641.google.com ([2607:f8b0:4864:20::641]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iIxW6-0001qS-JD for linux-arm-kernel@lists.infradead.org; Fri, 11 Oct 2019 16:11:47 +0000 Received: by mail-pl1-x641.google.com with SMTP id s17so4672146plp.6 for ; Fri, 11 Oct 2019 09:11:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=G6L52gHbcOVXjcPSYcPZfDCdfNGSvtith//1lglITt4=; b=U5/N6JMiUj9QDTd24aIgmkS/ZCmGBjpKwM7U8CzxrzMf1lqZSNfbZ7O4pwV0bhEzEg wudUUYrZzrgNiboJm0ChoceZ3O1LmYFYV3Bvx9uhV6vTeclkuNrnADNJMjD6VX65LBtL he7FMaEjTbOKTJQ5f79wUMqxbvVvSYa6+a7mg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=G6L52gHbcOVXjcPSYcPZfDCdfNGSvtith//1lglITt4=; b=hKXAOuIC6pNFzY7FUKgY+zZ1bOM09gVo9z3FGp34DEUrr38N3xfwtCt1uVzMOjJL0F 7EmlXrEgwt71UEJLsYkGrX0Xj1+0CTgGWQh9VlrSZgpl5yBpQruv2DGyyqP7YiBOXzRb I3/Oh+75PwD1r6Z5EIQrC/J1PKhZV+0Twdn76SHCarkzbe0bp8cNEUrBl2X+L0xlxCoe 1bSlhJ483Byt1HPNIIycstIoG16Is8jd0nX6RCDmflfwkZlrdqjNC+o9ceiLlJrHLkYE P6WIQCMhXNNInTDAQ6YRKvQ8YOsQz2CBoTkfFH088bcKDa1Tv/wJmTmb9fBY574g8pmJ 3cAw== X-Gm-Message-State: APjAAAVESID3/8gjt7SOfuI0uov8JmC3gygvdIMabc7kkahahvhOiTO8 h6mnrM7avFaDQZK8WviQVP+5lQ== X-Google-Smtp-Source: APXvYqybFKi8DEP43HWkgZPyfZo8SqqFMMtnLHZ2tVbdiQx6dZitTSLWHEWMqDIFXmSN2gN3R3/hRg== X-Received: by 2002:a17:902:bf45:: with SMTP id u5mr15982728pls.62.1570810305781; Fri, 11 Oct 2019 09:11:45 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id f6sm9294369pfq.169.2019.10.11.09.11.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Oct 2019 09:11:44 -0700 (PDT) Date: Fri, 11 Oct 2019 09:11:43 -0700 From: Kees Cook To: Segher Boessenkool Subject: Re: [PATCH v2 01/29] powerpc: Rename "notes" PT_NOTE to "note" Message-ID: <201910110910.48270FC97@keescook> References: <20191011000609.29728-1-keescook@chromium.org> <20191011000609.29728-2-keescook@chromium.org> <20191011082519.GI9749@gate.crashing.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20191011082519.GI9749@gate.crashing.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191011_091146_631618_7A4DAE13 X-CRM114-Status: GOOD ( 10.02 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arch@vger.kernel.org, linux-s390@vger.kernel.org, Michal Simek , Dave Hansen , linux-ia64@vger.kernel.org, Yoshinori Sato , Arnd Bergmann , linux-xtensa@linux-xtensa.org, Will Deacon , x86@kernel.org, Heiko Carstens , linux-kernel@vger.kernel.org, Borislav Petkov , linux-parisc@vger.kernel.org, Andy Lutomirski , linux-alpha@vger.kernel.org, Rick Edgecombe , linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-c6x-dev@linux-c6x.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Oct 11, 2019 at 03:25:19AM -0500, Segher Boessenkool wrote: > On Thu, Oct 10, 2019 at 05:05:41PM -0700, Kees Cook wrote: > > The Program Header identifiers are internal to the linker scripts. In > > preparation for moving the NOTES segment declaration into RO_DATA, > > standardize the identifier for the PT_NOTE entry to "note" as used by > > all other architectures that emit PT_NOTE. > > All other archs are wrong, and "notes" is a much better name. This > segment does not contain a single "note", but multiple "notes". True, but the naming appears to be based off the Program Header name of "PT_NOTE". Regardless, it is an entirely internal-to-the-linker-script identifier, so I am just consolidating on a common name with the least number of collateral changes. -- Kees Cook _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel