mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-29 13:23:23 +01:00
strncpy() has no remaining callers in the kernel[1]. Remove the alpha-specific assembly implementation and __HAVE_ARCH_STRNCPY define, falling back to the generic version in lib/string.c. The __stxncpy helper (stxncpy.S/ev6-stxncpy.S) is retained as it is still used by strncat. Link: https://github.com/KSPP/linux/issues/90 [1] Signed-off-by: Kees Cook <[email protected]>
11 lines
168 B
ArmAsm
11 lines
168 B
ArmAsm
#ifdef CONFIG_ALPHA_EV67
|
|
#include "ev67-strncat.S"
|
|
#else
|
|
#include "strncat.S"
|
|
#endif
|
|
#ifdef CONFIG_ALPHA_EV6
|
|
#include "ev6-stxncpy.S"
|
|
#else
|
|
#include "stxncpy.S"
|
|
#endif
|