Pull execve updates from Kees Cook: - Fix a few comments for correctness and typos (Baruch Siach) - Small simplifications for binfmt (Christophe JAILLET) - Set p_align to 4 for PT_NOTE in core dump (Fangrui Song) * tag 'execve-v6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux: binfmt_elf: fix comment typo s/reset/regset/ elf: correct note name comment binfmt: Slightly simplify elf_fdpic_map_file() binfmt: Use struct_size() coredump, vmcore: Set p_align to 4 for PT_NOTE
Showing the changes to include/uapi/linux (1 of 4 files). Show all
Unified · Split
| @@ -372,7 +372,8 @@ typedef struct elf64_shdr { · 371 unmodified lines | ||
| 372 | 372 | * Notes used in ET_CORE. Architectures export some of the arch register sets |
| 373 | 373 | * using the corresponding note types via the PTRACE_GETREGSET and |
| 374 | 374 | * 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". | |
| 376 | 377 | */ |
| 377 | 378 | #define NT_PRSTATUS 1 |
| 378 | 379 | #define NT_PRFPREG 2 |