diff mbox series

elf: Correct note name comment

Message ID 20241225-elf-v1-1-79e940350d50@daynix.com (mailing list archive)
State New
Headers show
Series elf: Correct note name comment | expand

Commit Message

Akihiko Odaki Dec. 25, 2024, 6:46 a.m. UTC
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(-)


---
base-commit: 752ebcbe87aceeb6334e846a466116197711a982
change-id: 20241210-elf-b80ea3949c39

Best regards,
diff mbox series

Patch

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