[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20241225-elf-v1-1-79e940350d50@daynix.com>
Date: Wed, 25 Dec 2024 15:46:44 +0900
From: Akihiko Odaki <akihiko.odaki@...nix.com>
To: Eric Biederman <ebiederm@...ssion.com>, Kees Cook <kees@...nel.org>,
Catalin Marinas <catalin.marinas@....com>, Mark Brown <broonie@...nel.org>,
Dave Martin <Dave.Martin@....com>
Cc: linux-mm@...ck.org, linux-kernel@...r.kernel.org, devel@...nix.com,
Akihiko Odaki <akihiko.odaki@...nix.com>
Subject: [PATCH] elf: Correct note name comment
NT_PRSTATUS note is also named "CORE". Correct the comment accordingly.
Fixes: 00e19ceec80b ("ELF: Add ELF program property parsing support")
Signed-off-by: Akihiko Odaki <akihiko.odaki@...nix.com>
---
include/uapi/linux/elf.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/uapi/linux/elf.h b/include/uapi/linux/elf.h
index b54b313bcf07..4f00cdca38b2 100644
--- a/include/uapi/linux/elf.h
+++ b/include/uapi/linux/elf.h
@@ -372,8 +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 these types is "LINUX", except NT_PRFPREG that is named
- * "CORE".
+ * The note name for these types is "LINUX", except NT_PRSTATUS and NT_PRFPREG
+ * that are named "CORE".
*/
#define NT_PRSTATUS 1
#define NT_PRFPREG 2
---
base-commit: 752ebcbe87aceeb6334e846a466116197711a982
change-id: 20241210-elf-b80ea3949c39
Best regards,
--
Akihiko Odaki <akihiko.odaki@...nix.com>
Powered by blists - more mailing lists