Re: [PATCH v2 1/5] elf: Define note name macros

2025-01-06 Thread Dave Martin
Hi all, On Mon, Jan 06, 2025 at 08:48:05AM -0800, Kees Cook wrote: > On Sat, Jan 04, 2025 at 11:38:34PM +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 PTRA

Re: [PATCH v2 1/5] elf: Define note name macros

2025-01-06 Thread Kees Cook
On Sat, Jan 04, 2025 at 11:38:34PM +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

Re: [PATCH v2 1/5] elf: Define note name macros

2025-01-06 Thread Dave Martin
On Sat, Jan 04, 2025 at 11:38:34PM +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

Re: [PATCH v2 1/5] elf: Define note name macros

2025-01-05 Thread Baoquan He
On 01/06/25 at 02:07pm, Akihiko Odaki wrote: > On 2025/01/06 11:21, Baoquan He wrote: > > On 01/04/25 at 11:38pm, 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

Re: [PATCH v2 1/5] elf: Define note name macros

2025-01-05 Thread Akihiko Odaki
On 2025/01/06 11:21, Baoquan He wrote: On 01/04/25 at 11:38pm, 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

Re: [PATCH v2 1/5] elf: Define note name macros

2025-01-05 Thread Baoquan He
On 01/04/25 at 11:38pm, 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",

[PATCH v2 1/5] elf: Define note name macros

2025-01-04 Thread Akihiko Odaki
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". However, NT_