mirror of
https://github.com/torvalds/linux.git
synced 2026-11-13 13:38:14 +01:00
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> |
||
|---|---|---|
| .. | ||
| checksum_32.S | ||
| checksum_64.S | ||
| code-patching.c | ||
| copy_32.S | ||
| copy_mc_64.S | ||
| copypage_64.S | ||
| copypage_power7.S | ||
| copyuser_64.S | ||
| copyuser_power7.S | ||
| crtsavres.S | ||
| div64.S | ||
| error-inject.c | ||
| feature-fixups-test.S | ||
| feature-fixups.c | ||
| hweight_64.S | ||
| ldstfp.S | ||
| locks.c | ||
| Makefile | ||
| mem_64.S | ||
| memcmp_32.S | ||
| memcmp_64.S | ||
| memcpy_64.S | ||
| memcpy_power7.S | ||
| pmem.c | ||
| qspinlock.c | ||
| quad.S | ||
| restart_table.c | ||
| rheap.c | ||
| sstep.c | ||
| string_32.S | ||
| string_64.S | ||
| string.S | ||
| strlen_32.S | ||
| test_emulate_step_exec_instr.S | ||
| test_emulate_step.c | ||
| test-code-patching.c | ||
| vmx-helper.c | ||