diff options
| author | Kees Cook <kees@kernel.org> | 2026-03-23 04:17:19 +0300 |
|---|---|---|
| committer | Kees Cook <kees@kernel.org> | 2026-06-19 02:37:13 +0300 |
| commit | 7eda356658cbfba9aea48bddd12b97e562c21188 (patch) | |
| tree | 7ddeb6a1ca758b24696912a15508e714b079068d /include/linux/panic.h | |
| parent | ad3242a9acaa01cc9ecc6e483341697ca4f77461 (diff) | |
| download | linux-7eda356658cbfba9aea48bddd12b97e562c21188.tar.xz | |
powerpc: Remove arch-specific strncpy() implementation
strncpy() has no remaining callers in the kernel[1]. Remove the
powerpc-specific assembly implementation from both the kernel
(arch/powerpc/lib/string.S) and the boot wrapper
(arch/powerpc/boot/string.S), along with the __HAVE_ARCH_STRNCPY
define and declaration, falling back to the generic version in
lib/string.c.
The boot wrapper's strncpy had no callers in arch/powerpc/boot/.
Link: https://github.com/KSPP/linux/issues/90 [1]
Signed-off-by: Kees Cook <kees@kernel.org>
Diffstat (limited to 'include/linux/panic.h')
0 files changed, 0 insertions, 0 deletions
