linux/arch/hexagon
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
..
configs Merge branch 'akpm' (patches from Andrew) 2021-05-07 00:34:51 -07:00
include hexagon: use generic strncpy/strnlen from_user 2021-07-23 14:40:00 +02:00
kernel hexagon: use generic strncpy/strnlen from_user 2021-07-23 14:40:00 +02:00
lib Hexagon: add target builtins to kernel 2021-05-03 11:04:22 -05:00
mm hexagon: use generic strncpy/strnlen from_user 2021-07-23 14:40:00 +02:00
Kbuild hexagon: move core-y in arch/hexagon/Makefile to arch/hexagon/Kbuild 2021-05-26 23:11:47 +09:00
Kconfig hexagon: use generic strncpy/strnlen from_user 2021-07-23 14:40:00 +02:00
Kconfig.debug treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile hexagon: move core-y in arch/hexagon/Makefile to arch/hexagon/Kbuild 2021-05-26 23:11:47 +09:00