Re: [PATCH v5 0/6] elf: Define note name macros
From: Kees Cook
Date: Mon Feb 10 2025 - 19:59:52 EST
On Wed, 15 Jan 2025 14:47:57 +0900, Akihiko Odaki wrote:
> elf.h had a comment saying:
> > 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 these types is "LINUX", except NT_PRFPREG that is
> > named "CORE".
>
> [...]
I rebased this for changes introduced by commit
680e029fd62f ("proc/kcore: don't walk list on every read")
Applied to for-next/execve, thanks!
[1/6] elf: Define note name macros
https://git.kernel.org/kees/c/7da8e4ad4df0
[2/6] binfmt_elf: Use note name macros
https://git.kernel.org/kees/c/2fc4947bbd91
[3/6] powerpc: Use note name macros
https://git.kernel.org/kees/c/609c8b309156
[4/6] crash: Use note name macros
https://git.kernel.org/kees/c/0de47f28ec84
[5/6] s390/crash: Use note name macros
https://git.kernel.org/kees/c/d4a760fb77fd
[6/6] crash: Remove KEXEC_CORE_NOTE_NAME
https://git.kernel.org/kees/c/7e620b56d958
Take care,
--
Kees Cook