From patchwork Thu Jun 22 06:02:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baruch Siach X-Patchwork-Id: 111449 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp4858942vqr; Wed, 21 Jun 2023 23:24:35 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ707u0jzrf6j0xI9RkeBMTmcT8YVnUG6n6/3geHGiGzM1k2au0DyrVwhqoKOAl+tIvito65 X-Received: by 2002:a05:620a:450c:b0:763:c3f3:f543 with SMTP id t12-20020a05620a450c00b00763c3f3f543mr5985916qkp.59.1687415075226; Wed, 21 Jun 2023 23:24:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687415075; cv=none; d=google.com; s=arc-20160816; b=VboqwTFDdSLCKNumS4LsxIQsYeLKecZHAA63hilS2A5QRuyf9k9oCq+l/FZrR1b0lv JrE4sTBaZ/OEwlcvlVH9A35hs5ZQR21LYp3ggeAm33vSwT8u8+7JputJwhpT/Ytb0vhB qEIobhWGBR94xXgQw4+okOYEtuBI/bEkllReYkKY3EgHqHsXf/E7pL0h+2XzTAXA3Tja 7PR2rwXEYMhX6aBFjsYE9GsggI3VKBiK3XZEa7NqbRa/YoHf7ZO28unJEHGoWCiDCmOr RT4N6Xjt6WLuSzHKJvD15nBkJb6JWleYEi0DcshYE40381235psQeNkqZPmxFODNCI/n 6x+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=2tdKPgv9y8L5zYpTBkugUGRjX3JRrDaA7eyF1TtuJSk=; b=geMAizvzVKtO29ij2UaVkWHT9G3dOrs2NrRu2kKwQ3jcEcH0mxI1XdyKPI/Ei0pl+t j/qFCVA3DB7JpqelIEUdJLv3RLJE5DsvzNL4OEhz4IGN6qFcBvNX44xU+rtnsG6cOhzk YjUTL/6BwMsEbjOW6mtfYmrpH5QGrz0F8u8d6i7mW9o9/GvsrU0mSDA1CwZMJYUX+Atz /qjWUCq3H6KBjRfyCa15VkQ/hyBazJB/YJkhgiMYUOrxUWGNeelhDspIJOe3cDedjRM8 dAydsCW3x5TqNh8d7Z9GqlBFg49E3ukK6IPGJSpdYHqkjqmpMTboInYR9BIPt5yGJU0k Y0kQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tkos.co.il header.s=default header.b="K6M/lKu/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=tkos.co.il Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n7-20020a63b447000000b00534866eb2c2si5586719pgu.835.2023.06.21.23.24.22; Wed, 21 Jun 2023 23:24:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@tkos.co.il header.s=default header.b="K6M/lKu/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=tkos.co.il Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229902AbjFVGGk (ORCPT + 99 others); Thu, 22 Jun 2023 02:06:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229650AbjFVGGi (ORCPT ); Thu, 22 Jun 2023 02:06:38 -0400 Received: from mail.tkos.co.il (wiki.tkos.co.il [84.110.109.230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C6A08EA for ; Wed, 21 Jun 2023 23:06:36 -0700 (PDT) Received: from tarshish.tkos.co.il (unknown [10.0.8.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.tkos.co.il (Postfix) with ESMTPS id 1AFB3440787; Thu, 22 Jun 2023 09:06:32 +0300 (IDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tkos.co.il; s=default; t=1687413992; bh=Sfj0v/aDHVfdFzCSfmen4SNgS2aH8ZdF/uSqTWw1sPY=; h=From:To:Cc:Subject:Date:From; b=K6M/lKu/0d26BedDPRypgXV/dp+BIO4ZMYMiZ1AunIRsCKsqCAtA0zUlGDz9L2Eif CHKAFkO5iWwxUWrxaT0yNrsJvxsqhTFmko7NlFzF3x6/chvmO14i2eeu/DO8NwW2b7 Ytzk7BNSV0uYL6fm3bZP4SNssPadsbKvb+W66so4xH/0NMekj3AqK0eUA1jllXgW2c S1YgQ927ApViCahnwD2AoigGbeOP9UyL25qU8EcqeDNsYBI4jQ2D/8U7B5KNKUoRX5 RrqYY9DPy7sdrjB/f6mjJ6XISvpehKaWKINMt6KEGAUxpt8QWnn481rBp6pRT+BbcZ DuYruGFjc97QQ== From: Baruch Siach To: Eric Biederman , Kees Cook Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Baruch Siach Subject: [PATCH RESEND] elf: correct note name comment Date: Thu, 22 Jun 2023 09:02:43 +0300 Message-Id: X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769382949917886424?= X-GMAIL-MSGID: =?utf-8?q?1769382949917886424?= Only the NT_PRFPREG note is named "LINUX". Correct the comment accordingly. Fixes: 00e19ceec80b ("ELF: Add ELF program property parsing support") Signed-off-by: Baruch Siach --- Resending in hope kvack.org mail server would be willing to accept my submission this time. Adding LKML as a safety net. --- include/uapi/linux/elf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git include/uapi/linux/elf.h include/uapi/linux/elf.h index ac3da855fb19..a8a0cced62c6 100644 --- include/uapi/linux/elf.h +++ include/uapi/linux/elf.h @@ -372,7 +372,7 @@ typedef struct elf64_shdr { * Notes used in ET_CORE. Architectures export some of the arch register sets * using the corresponding note types via the PTRACE_GETREGSET and * PTRACE_SETREGSET requests. - * The note name for all these is "LINUX". + * The note name for most types is "CORE". NT_PRFPREG note is named "LINUX". */ #define NT_PRSTATUS 1 #define NT_PRFPREG 2