sparclinux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kees Cook <kees@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org,
	Akihiko Odaki <akihiko.odaki@daynix.com>,
	Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp>,
	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>,
	Christian Borntraeger <borntraeger@linux.ibm.com>,
	Christophe Leroy <christophe.leroy@csgroup.eu>,
	Chris Zankel <chris@zankel.net>,
	Dave Hansen <dave.hansen@linux.intel.com>,
	Dave Martin <Dave.Martin@arm.com>,
	David Hildenbrand <david@redhat.com>,
	"David S. Miller" <davem@davemloft.net>,
	Dinh Nguyen <dinguyen@kernel.org>,
	Dishank Jogi <dishank.jogi@siqol.com>,
	Geert Uytterhoeven <geert@linux-m68k.org>,
	Guo Ren <guoren@kernel.org>, Heiko Carstens <hca@linux.ibm.com>,
	Helge Deller <deller@gmx.de>, "H. Peter Anvin" <hpa@zytor.com>,
	Huacai Chen <chenhuacai@kernel.org>,
	Ingo Molnar <mingo@redhat.com>,
	"James E.J. Bottomley" <James.Bottomley@hansenpartnership.com>,
	Johannes Berg <johannes@sipsolutions.net>,
	John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>,
	Jonas Bonn <jonas@southpole.se>, Kees Cook <kees@kernel.org>,
	"Liam R. Howlett" <Liam.Howlett@oracle.com>,
	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, linuxppc-dev@lists.ozlabs.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, loongarch@lists.linux.dev,
	Lorenzo Stoakes <lorenzo.stoakes@oracle.com>,
	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>,
	Richard Weinberger <richard@nod.at>,
	Rich Felker <dalias@libc.org>,
	Russell King <linux@armlinux.org.uk>,
	sparclinux@vger.kernel.org, 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>,
	x86@kernel.org, Yin Fengwei <fengwei_yin@linux.alibaba.com>,
	Yoshinori Sato <ysato@users.sourceforge.jp>
Subject: [GIT PULL] execve updates for v6.17
Date: Sat, 26 Jul 2025 14:39:20 -0700	[thread overview]
Message-ID: <202507261437.F2079B3B7@keescook> (raw)

Hi Linus,

Please pull these execve updates for v6.17. Note that while the REGSET
macro changes touch all the architectures, they are fairly mechanical
and have been in linux-next for almost the entire development window.

Thanks!

-Kees

The following changes since commit e04c78d86a9699d136910cfc0bdcf01087e3267e:

  Linux 6.16-rc2 (2025-06-15 13:49:41 -0700)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/execve-v6.17

for you to fetch changes up to 7f71195c15dcf5f34c4c7f056603659374e3a525:

  fork: reorder function qualifiers for copy_clone_args_from_user (2025-07-17 16:37:05 -0700)

----------------------------------------------------------------
execve updates for v6.17

- Introduce regular REGSET note macros arch-wide (Dave Martin)

- Remove arbitrary 4K limitation of program header size (Yin Fengwei)

- Reorder function qualifiers for copy_clone_args_from_user() (Dishank Jogi)

----------------------------------------------------------------
Dave Martin (23):
      regset: Fix kerneldoc for struct regset_get() in user_regset
      regset: Add explicit core note name in struct user_regset
      binfmt_elf: Dump non-arch notes with strictly matching name and type
      ARC: ptrace: Use USER_REGSET_NOTE_TYPE() to specify regset note names
      ARM: ptrace: Use USER_REGSET_NOTE_TYPE() to specify regset note names
      arm64: ptrace: Use USER_REGSET_NOTE_TYPE() to specify regset note names
      csky: ptrace: Use USER_REGSET_NOTE_TYPE() to specify regset note names
      hexagon: ptrace: Use USER_REGSET_NOTE_TYPE() to specify regset note names
      LoongArch: ptrace: Use USER_REGSET_NOTE_TYPE() to specify regset note names
      m68k: ptrace: Use USER_REGSET_NOTE_TYPE() to specify regset note names
      MIPS: ptrace: Use USER_REGSET_NOTE_TYPE() to specify regset note names
      nios2: ptrace: Use USER_REGSET_NOTE_TYPE() to specify regset note names
      openrisc: ptrace: Use USER_REGSET_NOTE_TYPE() to specify regset note names
      parisc: ptrace: Use USER_REGSET_NOTE_TYPE() to specify regset note names
      powerpc/ptrace: Use USER_REGSET_NOTE_TYPE() to specify regset note names
      riscv: ptrace: Use USER_REGSET_NOTE_TYPE() to specify regset note names
      s390/ptrace: Use USER_REGSET_NOTE_TYPE() to specify regset note names
      sh: ptrace: Use USER_REGSET_NOTE_TYPE() to specify regset note names
      sparc: ptrace: Use USER_REGSET_NOTE_TYPE() to specify regset note names
      x86/ptrace: Use USER_REGSET_NOTE_TYPE() to specify regset note names
      um: ptrace: Use USER_REGSET_NOTE_TYPE() to specify regset note names
      xtensa: ptrace: Use USER_REGSET_NOTE_TYPE() to specify regset note names
      binfmt_elf: Warn on missing or suspicious regset note names

Dishank Jogi (1):
      fork: reorder function qualifiers for copy_clone_args_from_user

Yin Fengwei (1):
      binfmt_elf: remove the 4k limitation of program header size

 include/linux/regset.h                   | 12 +++++-
 arch/arc/kernel/ptrace.c                 |  4 +-
 arch/arm/kernel/ptrace.c                 |  6 +--
 arch/arm64/kernel/ptrace.c               | 52 +++++++++++-----------
 arch/csky/kernel/ptrace.c                |  4 +-
 arch/hexagon/kernel/ptrace.c             |  2 +-
 arch/loongarch/kernel/ptrace.c           | 16 +++----
 arch/m68k/kernel/ptrace.c                |  4 +-
 arch/mips/kernel/ptrace.c                | 20 ++++-----
 arch/nios2/kernel/ptrace.c               |  2 +-
 arch/openrisc/kernel/ptrace.c            |  4 +-
 arch/parisc/kernel/ptrace.c              |  8 ++--
 arch/powerpc/kernel/ptrace/ptrace-view.c | 74 ++++++++++++++++----------------
 arch/riscv/kernel/ptrace.c               | 12 +++---
 arch/s390/kernel/ptrace.c                | 42 +++++++++---------
 arch/sh/kernel/ptrace_32.c               |  4 +-
 arch/sparc/kernel/ptrace_32.c            |  4 +-
 arch/sparc/kernel/ptrace_64.c            |  8 ++--
 arch/x86/kernel/ptrace.c                 | 22 +++++-----
 arch/x86/um/ptrace.c                     | 10 ++---
 arch/xtensa/kernel/ptrace.c              |  4 +-
 fs/binfmt_elf.c                          | 38 ++++++++++------
 fs/binfmt_elf_fdpic.c                    | 17 ++++----
 kernel/fork.c                            |  2 +-
 24 files changed, 196 insertions(+), 175 deletions(-)

-- 
Kees Cook

             reply	other threads:[~2025-07-26 21:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-26 21:39 Kees Cook [this message]
2025-07-29  1:11 ` [GIT PULL] execve updates for v6.17 pr-tracker-bot

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=202507261437.F2079B3B7@keescook \
    --to=kees@kernel.org \
    --cc=Dave.Martin@arm.com \
    --cc=James.Bottomley@hansenpartnership.com \
    --cc=Liam.Howlett@oracle.com \
    --cc=agordeev@linux.ibm.com \
    --cc=akihiko.odaki@daynix.com \
    --cc=alex@ghiti.fr \
    --cc=andreas@gaisler.com \
    --cc=anton.ivanov@cambridgegreys.com \
    --cc=aou@eecs.berkeley.edu \
    --cc=bcain@kernel.org \
    --cc=borntraeger@linux.ibm.com \
    --cc=bp@alien8.de \
    --cc=catalin.marinas@arm.com \
    --cc=chenhuacai@kernel.org \
    --cc=chris@zankel.net \
    --cc=christophe.leroy@csgroup.eu \
    --cc=dalias@libc.org \
    --cc=dave.hansen@linux.intel.com \
    --cc=davem@davemloft.net \
    --cc=david@redhat.com \
    --cc=deller@gmx.de \
    --cc=dinguyen@kernel.org \
    --cc=dishank.jogi@siqol.com \
    --cc=fengwei_yin@linux.alibaba.com \
    --cc=geert@linux-m68k.org \
    --cc=glaubitz@physik.fu-berlin.de \
    --cc=gor@linux.ibm.com \
    --cc=guoren@kernel.org \
    --cc=hca@linux.ibm.com \
    --cc=hpa@zytor.com \
    --cc=jcmvbkbc@gmail.com \
    --cc=johannes@sipsolutions.net \
    --cc=jonas@southpole.se \
    --cc=kernel@xen0n.name \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-csky@vger.kernel.org \
    --cc=linux-hexagon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-m68k@lists.linux-m68k.org \
    --cc=linux-mips@vger.kernel.org \
    --cc=linux-openrisc@vger.kernel.org \
    --cc=linux-parisc@vger.kernel.org \
    --cc=linux-riscv@lists.infradead.org \
    --cc=linux-s390@vger.kernel.org \
    --cc=linux-sh@vger.kernel.org \
    --cc=linux-snps-arc@lists.infradead.org \
    --cc=linux-um@lists.infradead.org \
    --cc=linux@armlinux.org.uk \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=loongarch@lists.linux.dev \
    --cc=lorenzo.stoakes@oracle.com \
    --cc=maddy@linux.ibm.com \
    --cc=mingo@redhat.com \
    --cc=mpe@ellerman.id.au \
    --cc=npiggin@gmail.com \
    --cc=odaki@rsg.ci.i.u-tokyo.ac.jp \
    --cc=oleg@redhat.com \
    --cc=palmer@dabbelt.com \
    --cc=paul.walmsley@sifive.com \
    --cc=richard@nod.at \
    --cc=shorne@gmail.com \
    --cc=sparclinux@vger.kernel.org \
    --cc=stefan.kristiansson@saunalahti.fi \
    --cc=svens@linux.ibm.com \
    --cc=tglx@linutronix.de \
    --cc=torvalds@linux-foundation.org \
    --cc=tsbogend@alpha.franken.de \
    --cc=vgupta@kernel.org \
    --cc=will@kernel.org \
    --cc=x86@kernel.org \
    --cc=ysato@users.sourceforge.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).