From nobody Sun Feb 8 17:41:31 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3D0CFEB64D7 for ; Fri, 23 Jun 2023 05:51:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231530AbjFWFvM (ORCPT ); Fri, 23 Jun 2023 01:51:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231655AbjFWFuw (ORCPT ); Fri, 23 Jun 2023 01:50:52 -0400 Received: from mail.tkos.co.il (wiki.tkos.co.il [84.110.109.230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5517D1B4 for ; Thu, 22 Jun 2023 22:50:51 -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 4348E440537; Fri, 23 Jun 2023 08:50:45 +0300 (IDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tkos.co.il; s=default; t=1687499445; bh=9jEJgdq2Xd4QhhL1CN6tgeLdCWprH78WEI6H8wMuOog=; h=From:To:Cc:Subject:Date:From; b=jpenR1P21YYDhPHwWhHqO6KTBhbbkvbIUWzIfneujr9FMoUHiS5eouw18NwK5Yp/Q pN75u1z0+7O47PSpUOHEzHZKet4OU+AMm89sFitD4Xhn56RKHySaf8lAnYD5t8gQGx IgJq1MCoK5bMTdIkzLa4ZI/HzitMAm4u5FdZFG+XZq/z0KDA9pOrx5RgYsc0cQAqq9 OBdyyn+HvfvpmVqJdnm6veOwnpRd5JlidBGjt/HILHODeFJQfS4BVbRlF5Kefn7iOe 7d8OINSAQ6vEwmtm8b4PYzKluBL/69kWYM0xkFnAKn/bgxIHwvMuZxtB77FKTavsMc GGSzLr4TOdQ1A== From: Baruch Siach To: Eric Biederman , Kees Cook Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Baruch Siach Subject: [PATCH v2] elf: correct note name comment Date: Fri, 23 Jun 2023 08:50:11 +0300 Message-Id: <455b22b986de4d3bc6d9bfd522378e442943de5f.1687499411.git.baruch@tkos.co.il> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" NT_PRFPREG note is named "CORE". Correct the comment accordingly. Fixes: 00e19ceec80b ("ELF: Add ELF program property parsing support") Signed-off-by: Baruch Siach --- v2: Swap "CORE" and "LINUX" as noted by Kees --- include/uapi/linux/elf.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git include/uapi/linux/elf.h include/uapi/linux/elf.h index ac3da855fb19..4d1c8d46e7f0 100644 --- include/uapi/linux/elf.h +++ include/uapi/linux/elf.h @@ -372,7 +372,8 @@ typedef struct elf64_shdr { * Notes used in ET_CORE. Architectures export some of the arch register s= ets * 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 these types is "LINUX", except NT_PRFPREG that is nam= ed + * "CORE". */ #define NT_PRSTATUS 1 #define NT_PRFPREG 2 --=20 2.40.1