Skip to content

Commit 0b3d412

Browse files
baruchsiachkees
authored andcommitted
elf: correct note name comment
NT_PRFPREG note is named "CORE". Correct the comment accordingly. Fixes: 00e19ce ("ELF: Add ELF program property parsing support") Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Kees Cook <keescook@chromium.org> Link: https://lore.kernel.org/r/455b22b986de4d3bc6d9bfd522378e442943de5f.1687499411.git.baruch@tkos.co.il
1 parent 36650a3 commit 0b3d412

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

include/uapi/linux/elf.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,8 @@ typedef struct elf64_shdr {
372372
* Notes used in ET_CORE. Architectures export some of the arch register sets
373373
* using the corresponding note types via the PTRACE_GETREGSET and
374374
* PTRACE_SETREGSET requests.
375-
* The note name for all these is "LINUX".
375+
* The note name for these types is "LINUX", except NT_PRFPREG that is named
376+
* "CORE".
376377
*/
377378
#define NT_PRSTATUS 1
378379
#define NT_PRFPREG 2

0 commit comments

Comments
 (0)