Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp12003079rwd; Thu, 22 Jun 2023 23:24:37 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5yHkj2YsMuIM5xlxzB9NzztJc5dD5FC0PIXv+duVcKPO4ledKysMInjZErwu0IzjkTYHpL X-Received: by 2002:a92:dc4d:0:b0:33b:363d:27eb with SMTP id x13-20020a92dc4d000000b0033b363d27ebmr14852287ilq.30.1687501476929; Thu, 22 Jun 2023 23:24:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687501476; cv=none; d=google.com; s=arc-20160816; b=zgRAr32gRH2v10nJdB16FMwz9CNkVZ3+D+FCSPq/JwcLLo2WcroQ+6MGDTt6ROxSXg FFL6PPJxesAY73r8xb4+w73Bnus6iwBQmGmK4M7XWLU7mU+sQQzqt2QxxZJiaj8PX/cd VvR3/2eIz24A9iNIyA7hWP5vumBc57eXTINwBt26Fp9I2kA2ohCd4tHt2m3MolRmRelT X6xMWm9twbYrEr1GpmPVMQYNESPd8VH9zeuE4o7TD18RqJQvrJi0sT2BubYYS/i4xGZy jrV8Sk1J3Vx2iq/aJGmqi/8QZPb5ddGFYytcgWyJ0zJT5kJD8cwvxAOBwkmvZO6QHBZO 3FqA== 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=FO6/7JiPlqoDvwRmvK8AoFxBqUIrLxvNz+HdcKMa9/g=; b=0zrSw+d4XVIWuUWJMNYZnxzxbyID1mdcQcK/MlilLTLCG0lLTUC3eSSSyZ4fg4DqmM y+b2QWkqdBE2eCm8US5UH5zEGbn5SR0n8UBqtaFFL7SN7lxEgyKLc959ctsftLZyOziV wT9GsywSTB7l023STakDVx2E4gV87wbmXyvdbNe8WMZWb/HerC3/1aibHwrWk2rqJoLm r/e/dDbZaF3g0phuEMdAU3Qt2/cgnZxC9ZFp+TNVPqAntMEFHDmAXPV0gv407AnDd+pK +EJgCr09a4xBKOetjpgaT1F4eVRBqPrHbJNqKatptaro5dz0UQI5Mufp776EZmOpiPIO AqDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tkos.co.il header.s=default header.b=jpenR1P2; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w4-20020a656944000000b005348af160c2si8048570pgq.216.2023.06.22.23.24.24; Thu, 22 Jun 2023 23:24:36 -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=jpenR1P2; 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 S230264AbjFWFvL (ORCPT + 99 others); Fri, 23 Jun 2023 01:51:11 -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: 8bit 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,URIBL_BLOCKED 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 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 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 these types is "LINUX", except NT_PRFPREG that is named + * "CORE". */ #define NT_PRSTATUS 1 #define NT_PRFPREG 2 -- 2.40.1