public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Dave Martin <Dave.Martin@arm•com>
To: Kees Cook <kees@kernel•org>
Cc: linux-kernel@vger•kernel.org,
	"David S. Miller" <davem@davemloft•net>,
	"H. Peter Anvin" <hpa@zytor•com>,
	"James E.J. Bottomley" <James.Bottomley@hansenpartnership•com>,
	Akihiko Odaki <akihiko.odaki@daynix•com>,
	Albert Ou <aou@eecs•berkeley.edu>,
	Alexander Gordeev <agordeev@linux•ibm.com>,
	Alexandre Ghiti <alex@ghiti•fr>,
	Andreas Larsson <andreas@gaisler•com>,
	Anton Ivanov <anton.ivanov@cambridgegreys•com>,
	Borislav Petkov <bp@alien8•de>, Brian Cain <bcain@kernel•org>,
	Catalin Marinas <catalin.marinas@arm•com>,
	Chris Zankel <chris@zankel•net>,
	Christian Borntraeger <borntraeger@linux•ibm.com>,
	Christophe Leroy <christophe.leroy@csgroup•eu>,
	Dave Hansen <dave.hansen@linux•intel.com>,
	Dinh Nguyen <dinguyen@kernel•org>,
	Geert Uytterhoeven <geert@linux-m68k•org>,
	Guo Ren <guoren@kernel•org>, Heiko Carstens <hca@linux•ibm.com>,
	Helge Deller <deller@gmx•de>, Huacai Chen <chenhuacai@kernel•org>,
	Ingo Molnar <mingo@redhat•com>,
	Johannes Berg <johannes@sipsolutions•net>,
	John Paul Adrian Glaubitz <glaubitz@physik•fu-berlin.de>,
	Jonas Bonn <jonas@southpole•se>,
	Madhavan Srinivasan <maddy@linux•ibm.com>,
	Max Filippov <jcmvbkbc@gmail•com>,
	Michael Ellerman <mpe@ellerman•id.au>,
	Nicholas Piggin <npiggin@gmail•com>,
	Oleg Nesterov <oleg@redhat•com>,
	Palmer Dabbelt <palmer@dabbelt•com>,
	Paul Walmsley <paul.walmsley@sifive•com>,
	Rich Felker <dalias@libc•org>,
	Richard Weinberger <richard@nod•at>,
	Russell King <linux@armlinux•org.uk>,
	Stafford Horne <shorne@gmail•com>,
	Stefan Kristiansson <stefan.kristiansson@saunalahti•fi>,
	Sven Schnelle <svens@linux•ibm.com>,
	Thomas Bogendoerfer <tsbogend@alpha•franken.de>,
	Thomas Gleixner <tglx@linutronix•de>,
	Vasily Gorbik <gor@linux•ibm.com>,
	Vineet Gupta <vgupta@kernel•org>, WANG Xuerui <kernel@xen0n•name>,
	Will Deacon <will@kernel•org>,
	Yoshinori Sato <ysato@users•sourceforge.jp>,
	linux-arch@vger•kernel.org, linux-arm-kernel@lists•infradead.org,
	linux-csky@vger•kernel.org, linux-hexagon@vger•kernel.org,
	linux-m68k@lists•linux-m68k.org, linux-mips@vger•kernel.org,
	linux-openrisc@vger•kernel.org, linux-parisc@vger•kernel.org,
	linux-riscv@lists•infradead.org, linux-s390@vger•kernel.org,
	linux-sh@vger•kernel.org, linux-snps-arc@lists•infradead.org,
	linux-um@lists•infradead.org, linuxppc-dev@lists•ozlabs.org,
	loongarch@lists•linux.dev, sparclinux@vger•kernel.org,
	x86@kernel•org
Subject: Re: [PATCH 00/23] binfmt_elf,arch/*: Use elf.h for coredump note names
Date: Tue, 15 Jul 2025 11:32:47 +0100	[thread overview]
Message-ID: <aHYuT0SxX65tAEp3@e133380.arm.com> (raw)
In-Reply-To: <175255782864.3413694.2008555655056311560.b4-ty@kernel.org>

On Mon, Jul 14, 2025 at 10:37:11PM -0700, Kees Cook wrote:
> On Tue, 01 Jul 2025 14:55:53 +0100, Dave Martin wrote:
> > This series aims to clean up an aspect of coredump generation:
> > 
> > ELF coredumps contain a set of notes describing the state of machine
> > registers and other information about the dumped process.
> > 
> > Notes are identified by a numeric identifier n_type and a "name"
> > string, although this terminology is somewhat misleading.  Officially,
> > the "name" of a note is really an "originator" or namespace identifier
> > that indicates how to interpret n_type [1], although in practice it is
> > often used more loosely.
> > 
> > [...]
> 
> Applied to for-next/execve, thanks!
> 
> [01/23] regset: Fix kerneldoc for struct regset_get() in user_regset
>         https://git.kernel.org/kees/c/6fd9e1aa0784

[...]

> [23/23] binfmt_elf: Warn on missing or suspicious regset note names
>         https://git.kernel.org/kees/c/a55128d392e8
> 
> Take care,
> 
> -- 
> Kees Cook

Thanks!

Assuming nobody screams about things going wrong in next, I'll plan to
water down the paranoid check in binfmt_elf.c:fill_thread_core_info().

Anyone copy-pasting a new arch after this is in mainline shouldn't fall
foul of this.

Cheers
---Dave


  reply	other threads:[~2025-07-15 10:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-01 13:55 [PATCH 00/23] binfmt_elf,arch/*: Use elf.h for coredump note names Dave Martin
2025-07-01 13:56 ` [PATCH 15/23] powerpc/ptrace: Use USER_REGSET_NOTE_TYPE() to specify regset " Dave Martin
2025-07-09  5:05 ` [PATCH 00/23] binfmt_elf,arch/*: Use elf.h for coredump " Akihiko Odaki
2025-07-15  5:37 ` Kees Cook
2025-07-15 10:32   ` Dave Martin [this message]
2025-08-10 21:12 ` patchwork-bot+linux-riscv

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aHYuT0SxX65tAEp3@e133380.arm.com \
    --to=dave.martin@arm$(echo .)com \
    --cc=James.Bottomley@hansenpartnership$(echo .)com \
    --cc=agordeev@linux$(echo .)ibm.com \
    --cc=akihiko.odaki@daynix$(echo .)com \
    --cc=alex@ghiti$(echo .)fr \
    --cc=andreas@gaisler$(echo .)com \
    --cc=anton.ivanov@cambridgegreys$(echo .)com \
    --cc=aou@eecs$(echo .)berkeley.edu \
    --cc=bcain@kernel$(echo .)org \
    --cc=borntraeger@linux$(echo .)ibm.com \
    --cc=bp@alien8$(echo .)de \
    --cc=catalin.marinas@arm$(echo .)com \
    --cc=chenhuacai@kernel$(echo .)org \
    --cc=chris@zankel$(echo .)net \
    --cc=christophe.leroy@csgroup$(echo .)eu \
    --cc=dalias@libc$(echo .)org \
    --cc=dave.hansen@linux$(echo .)intel.com \
    --cc=davem@davemloft$(echo .)net \
    --cc=deller@gmx$(echo .)de \
    --cc=dinguyen@kernel$(echo .)org \
    --cc=geert@linux-m68k$(echo .)org \
    --cc=glaubitz@physik$(echo .)fu-berlin.de \
    --cc=gor@linux$(echo .)ibm.com \
    --cc=guoren@kernel$(echo .)org \
    --cc=hca@linux$(echo .)ibm.com \
    --cc=hpa@zytor$(echo .)com \
    --cc=jcmvbkbc@gmail$(echo .)com \
    --cc=johannes@sipsolutions$(echo .)net \
    --cc=jonas@southpole$(echo .)se \
    --cc=kees@kernel$(echo .)org \
    --cc=kernel@xen0n$(echo .)name \
    --cc=linux-arch@vger$(echo .)kernel.org \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    --cc=linux-csky@vger$(echo .)kernel.org \
    --cc=linux-hexagon@vger$(echo .)kernel.org \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-m68k@lists$(echo .)linux-m68k.org \
    --cc=linux-mips@vger$(echo .)kernel.org \
    --cc=linux-openrisc@vger$(echo .)kernel.org \
    --cc=linux-parisc@vger$(echo .)kernel.org \
    --cc=linux-riscv@lists$(echo .)infradead.org \
    --cc=linux-s390@vger$(echo .)kernel.org \
    --cc=linux-sh@vger$(echo .)kernel.org \
    --cc=linux-snps-arc@lists$(echo .)infradead.org \
    --cc=linux-um@lists$(echo .)infradead.org \
    --cc=linux@armlinux$(echo .)org.uk \
    --cc=linuxppc-dev@lists$(echo .)ozlabs.org \
    --cc=loongarch@lists$(echo .)linux.dev \
    --cc=maddy@linux$(echo .)ibm.com \
    --cc=mingo@redhat$(echo .)com \
    --cc=mpe@ellerman$(echo .)id.au \
    --cc=npiggin@gmail$(echo .)com \
    --cc=oleg@redhat$(echo .)com \
    --cc=palmer@dabbelt$(echo .)com \
    --cc=paul.walmsley@sifive$(echo .)com \
    --cc=richard@nod$(echo .)at \
    --cc=shorne@gmail$(echo .)com \
    --cc=sparclinux@vger$(echo .)kernel.org \
    --cc=stefan.kristiansson@saunalahti$(echo .)fi \
    --cc=svens@linux$(echo .)ibm.com \
    --cc=tglx@linutronix$(echo .)de \
    --cc=tsbogend@alpha$(echo .)franken.de \
    --cc=vgupta@kernel$(echo .)org \
    --cc=will@kernel$(echo .)org \
    --cc=x86@kernel$(echo .)org \
    --cc=ysato@users$(echo .)sourceforge.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox