[PATCH] elf: Correct note name comment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 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@xxxxxxxxxx>





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux