From: Baruch Siach Date: Fri, 23 Jun 2023 05:50:11 +0000 (+0300) Subject: elf: correct note name comment X-Git-Tag: v6.6.17~4572^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0b3d412798a4763aaf39213a279e453e1fddc81d;p=platform%2Fkernel%2Flinux-rpi.git elf: correct note name comment NT_PRFPREG note is named "CORE". Correct the comment accordingly. Fixes: 00e19ceec80b ("ELF: Add ELF program property parsing support") Signed-off-by: Baruch Siach Signed-off-by: Kees Cook Link: https://lore.kernel.org/r/455b22b986de4d3bc6d9bfd522378e442943de5f.1687499411.git.baruch@tkos.co.il --- diff --git a/include/uapi/linux/elf.h b/include/uapi/linux/elf.h index ac3da85..4d1c8d4 100644 --- a/include/uapi/linux/elf.h +++ b/include/uapi/linux/elf.h @@ -372,7 +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 all these is "LINUX". + * The note name for these types is "LINUX", except NT_PRFPREG that is named + * "CORE". */ #define NT_PRSTATUS 1 #define NT_PRFPREG 2