WSL2-Linux-Kernel/arch/csky/lib
Arnd Bergmann 0cd1151886 csky: use generic strncpy/strnlen from_user
Remove the csky implemenation of strncpy/strnlen and instead use the
generic versions.  The csky version is fairly slow because it always does
byte accesses even for aligned data, and it lacks a checks for
user_addr_max().

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-07-23 14:40:01 +02:00
..
Makefile csky: Add support for function error injection 2020-07-31 01:52:07 +00:00
delay.c csky: Library functions 2018-10-26 00:54:24 +08:00
error-inject.c csky: Add support for function error injection 2020-07-31 01:52:07 +00:00
usercopy.c csky: use generic strncpy/strnlen from_user 2021-07-23 14:40:01 +02:00