linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RESEND] elf: correct note name comment
@ 2023-06-22  6:02 Baruch Siach
  2023-06-22 20:07 ` Kees Cook
  0 siblings, 1 reply; 2+ messages in thread
From: Baruch Siach @ 2023-06-22  6:02 UTC (permalink / raw)
  To: Eric Biederman, Kees Cook; +Cc: linux-mm, linux-kernel, Baruch Siach

Only the NT_PRFPREG note is named "LINUX". Correct the comment
accordingly.

Fixes: 00e19ceec80b ("ELF: Add ELF program property parsing support")
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---

Resending in hope kvack.org mail server would be willing to accept my
submission this time.

Adding LKML as a safety net.
---
 include/uapi/linux/elf.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git include/uapi/linux/elf.h include/uapi/linux/elf.h
index ac3da855fb19..a8a0cced62c6 100644
--- include/uapi/linux/elf.h
+++ include/uapi/linux/elf.h
@@ -372,7 +372,7 @@ 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 most types is "CORE". NT_PRFPREG note is named "LINUX".
  */
 #define NT_PRSTATUS	1
 #define NT_PRFPREG	2
-- 
2.40.1



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

end of thread, other threads:[~2023-06-22 20:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-22  6:02 [PATCH RESEND] elf: correct note name comment Baruch Siach
2023-06-22 20:07 ` Kees Cook

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