linux/arch/csky/include/asm
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
..
vdso csky: Add VDSO with GENERIC_GETTIMEOFDAY, GENERIC_TIME_VSYSCALL, HAVE_GENERIC_VDSO 2021-02-27 16:35:09 +08:00
Kbuild csky: uaccess.h: Coding convention with asm generic 2021-04-28 23:02:23 +08:00
addrspace.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
asid.h csky: Fixup typos 2021-04-20 09:58:29 +08:00
barrier.h csky: Fixup typos 2021-04-20 09:58:29 +08:00
bitops.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
bug.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
cache.h
cacheflush.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
checksum.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
clocksource.h csky: Add VDSO with GENERIC_GETTIMEOFDAY, GENERIC_TIME_VSYSCALL, HAVE_GENERIC_VDSO 2021-02-27 16:35:09 +08:00
cmpxchg.h locking/atomic: csky: move to ARCH_ATOMIC 2021-05-26 13:20:51 +02:00
elf.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
fixmap.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
ftrace.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
futex.h csky: Fixup futex SMP implementation 2021-01-12 09:52:40 +08:00
highmem.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
io.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
irq_work.h
irqflags.h
kprobes.h
memory.h csky: Add memory layout 2.5G(user):1.5G(kernel) 2021-01-12 09:52:40 +08:00
mmu.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
mmu_context.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
page.h csky: change a Kconfig symbol name to fix e1000 build error 2021-04-16 16:10:36 -07:00
pci.h
perf_event.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
pgalloc.h mm/thp: define default pmd_pgtable() 2021-07-01 11:06:03 -07:00
pgtable.h mm: define default value for FIRST_USER_ADDRESS 2021-07-01 11:06:02 -07:00
probes.h
processor.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
ptrace.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
reg_ops.h
seccomp.h
segment.h csky: uaccess.h: Coding convention with asm generic 2021-04-28 23:02:23 +08:00
shmparam.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
smp.h
spinlock.h csky: Cleanup asm/spinlock.h 2021-01-12 09:52:40 +08:00
spinlock_types.h csky: Cleanup asm/spinlock.h 2021-01-12 09:52:40 +08:00
stackprotector.h
string.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
switch_to.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
syscall.h
syscalls.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
tcm.h
thread_info.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
tlb.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
tlbflush.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
traps.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
uaccess.h csky: use generic strncpy/strnlen from_user 2021-07-23 14:40:01 +02:00
unistd.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
uprobes.h
vdso.h csky: Fixup typos 2021-04-20 09:58:29 +08:00
vmalloc.h