projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36650a3
)
elf: correct note name comment
author
Baruch Siach
<baruch@tkos.co.il>
Fri, 23 Jun 2023 05:50:11 +0000
(08:50 +0300)
committer
Kees Cook
<keescook@chromium.org>
Fri, 23 Jun 2023 16:34:55 +0000
(09:34 -0700)
NT_PRFPREG note is named "CORE". Correct the comment accordingly.
Fixes: 00e19ceec80b ("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
include/uapi/linux/elf.h
patch
|
blob
|
history
diff --git
a/include/uapi/linux/elf.h
b/include/uapi/linux/elf.h
index ac3da855fb197ef32e41b6f2611d5908939d0171..4d1c8d46e7f0288c49d42b233a6c536c2ef3777a 100644
(file)
--- 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