[GIT PULL] execve updates for v6.17

Kees Cook kees at kernel.org
Sun Jul 27 07:39:20 AEST 2025


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


More information about the Linuxppc-dev mailing list