OpenCloudOS-Kernel/arch/hexagon/mm
Arnd Bergmann 2820cfdc08 hexagon: use generic strncpy/strnlen from_user
Remove the hexagon implementation of strncpy/strnlen and instead use
the generic version.  The hexagon version reads the data twice for
strncpy() by doing an extra strnlen(), and it apparently lacks a check
for user_addr_max().

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-07-23 14:40:00 +02:00
..
Makefile hexagon: use generic strncpy/strnlen from_user 2021-07-23 14:40:00 +02:00
cache.c
copy_from_user.S
copy_to_user.S
copy_user_template.S
init.c mm: move mem_init_print_info() into mm_init() 2021-04-30 11:20:42 -07:00
ioremap.c
uaccess.c mm: introduce include/linux/pgtable.h 2020-06-09 09:39:13 -07:00
vm_fault.c mm/hexagon: use general page fault accounting 2020-08-12 10:58:03 -07:00
vm_tlb.c