linux/arch/hexagon
Al Viro e2a1890b68 hexagon: fix strncpy_from_user() error return
commit f35c1e0671 upstream.

It's -EFAULT, not -1 (and contrary to the comment in there,
__strnlen_user() can return 0 - on faults).

Acked-by: Richard Kuo <rkuo@codeaurora.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
History 2016-11-20 01:17:27 +00:00
..
configs Hexagon: Comet platform support 2011-11-01 07:34:21 -07:00
include hexagon: fix strncpy_from_user() error return 2016-11-20 01:17:27 +00:00
kernel Hexagon: set the e_flags in user regset view for core dumps 2014-04-04 18:20:02 -05:00
lib Hexagon: Copyright marking changes 2012-10-18 17:07:21 -05:00
mm arch: mm: pass userspace fault flag to generic fault handler 2013-09-12 15:38:01 -07:00
Kconfig Kconfig: rename HAS_IOPORT to HAS_IOPORT_MAP 2014-04-07 16:36:11 -07:00
Makefile Hexagon: change arch version config to allow comparisons 2013-04-30 19:40:22 -05:00