WSL2-Linux-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
vm_fault.c
vm_tlb.c