linux-stable/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
..
cache.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 267 2019-06-05 17:30:29 +02:00
copy_from_user.S treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 267 2019-06-05 17:30:29 +02:00
copy_to_user.S treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 267 2019-06-05 17:30:29 +02:00
copy_user_template.S treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 267 2019-06-05 17:30:29 +02:00
init.c mm: move mem_init_print_info() into mm_init() 2021-04-30 11:20:42 -07:00
ioremap.c hexagon: remove __iounmap 2019-11-11 21:18:19 +01:00
Makefile hexagon: use generic strncpy/strnlen from_user 2021-07-23 14:40:00 +02:00
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 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 267 2019-06-05 17:30:29 +02:00