linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] elf: Correct note name comment
@ 2024-12-25  6:46 Akihiko Odaki
  2025-01-02 14:40 ` Dave Martin
  0 siblings, 1 reply; 4+ messages in thread
From: Akihiko Odaki @ 2024-12-25  6:46 UTC (permalink / raw)
  To: Eric Biederman, Kees Cook, Catalin Marinas, Mark Brown, Dave Martin
  Cc: linux-mm, linux-kernel, devel, Akihiko Odaki

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@daynix.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@daynix.com>



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-01-03 15:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-25  6:46 [PATCH] elf: Correct note name comment Akihiko Odaki
2025-01-02 14:40 ` Dave Martin
2025-01-03  5:25   ` Akihiko Odaki
2025-01-03 15:01     ` Dave Martin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox