All of lore.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] strncpy-removal updates for v7.2-rc1
@ 2026-06-19  2:49 Kees Cook
  2026-06-19 22:14 ` pr-tracker-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Kees Cook @ 2026-06-19  2:49 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel, Kees Cook

Hi Linus,

Please pull the strncpy removal for v7.2-rc1. BPF's last usage removal
has landed, so here we go.

Thanks!

-Kees

The following changes since commit 9c87e61e3c5797277407ba5eae4eac8a52be3fa3:

  Merge tag 'bpf-next-7.2' of git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next (2026-06-17 09:18:14 +0100)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/strncpy-removal-v7.2-rc1

for you to fetch changes up to 079a028d6327e68cfa5d38b36123637b321c19a7:

  string: Remove strncpy() from the kernel (2026-06-18 16:39:31 -0700)

----------------------------------------------------------------
strncpy removal for v7.2-rc1

- Remove the per-arch strncpy implementations in alpha, m68k, powerpc,
  x86, and xtensa

- Remove strncpy API

Over the last 6 years working on strncpy removal there were 362 commits
by 70 contributors. Folks with more than 1 commit were:

    211  Justin Stitt <justinstitt@google.com>
     22  Xu Panda <xu.panda@zte.com.cn>
     21  Kees Cook <kees@kernel.org>
     17  Thorsten Blum <thorsten.blum@linux.dev>
     12  Arnd Bergmann <arnd@arndb.de>
      4  Pranav Tyagi <pranav.tyagi03@gmail.com>
      4  Lee Jones <lee@kernel.org>
      2  Steven Rostedt <rostedt@goodmis.org>
      2  Sam Ravnborg <sam@ravnborg.org>
      2  Marcelo Moreira <marcelomoreira1905@gmail.com>
      2  Krzysztof Kozlowski <krzk@kernel.org>
      2  Kalle Valo <kvalo@kernel.org>
      2  Jaroslav Kysela <perex@perex.cz>
      2  Daniel Thompson <danielt@kernel.org>
      2  Andrew Lunn <andrew@lunn.ch>

----------------------------------------------------------------
Kees Cook (6):
      alpha: Remove arch-specific strncpy() implementation
      m68k: Remove arch-specific strncpy() implementation
      powerpc: Remove arch-specific strncpy() implementation
      x86: Remove arch-specific strncpy() implementation
      xtensa: Remove arch-specific strncpy() implementation
      string: Remove strncpy() from the kernel

 Documentation/process/deprecated.rst          | 47 ++++++++-------
 arch/alpha/include/asm/string.h               |  2 -
 arch/m68k/include/asm/string.h                | 17 ------
 arch/powerpc/boot/string.h                    |  1 -
 arch/powerpc/include/asm/string.h             |  2 -
 arch/x86/include/asm/string_32.h              |  3 -
 arch/xtensa/include/asm/string.h              | 25 --------
 include/linux/fortify-string.h                | 49 ----------------
 include/linux/string.h                        |  3 -
 arch/alpha/lib/strncpy.S                      | 83 ---------------------------
 arch/alpha/lib/styncpy.S                      |  1 -
 arch/powerpc/boot/string.S                    | 13 -----
 arch/powerpc/lib/string.S                     | 22 -------
 arch/x86/lib/string_32.c                      | 19 ------
 drivers/misc/lkdtm/fortify.c                  |  2 +-
 lib/string.c                                  | 16 ------
 lib/test_fortify/write_overflow-strncpy-src.c |  5 --
 lib/test_fortify/write_overflow-strncpy.c     |  5 --
 lib/tests/fortify_kunit.c                     | 61 +-------------------
 19 files changed, 28 insertions(+), 348 deletions(-)
 delete mode 100644 arch/alpha/lib/strncpy.S
 delete mode 100644 lib/test_fortify/write_overflow-strncpy-src.c
 delete mode 100644 lib/test_fortify/write_overflow-strncpy.c

-- 
Kees Cook

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-06-19 22:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-19  2:49 [GIT PULL] strncpy-removal updates for v7.2-rc1 Kees Cook
2026-06-19 22:14 ` pr-tracker-bot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.