android_kernel_oneplus_msm8998/arch/hexagon
Al Viro 0be8d73a03 hexagon: fix strncpy_from_user() error return
commit f35c1e0671728d1c9abc405d05ef548b5fcb2fc4 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-09-24 10:07:44 +02:00
..
configs
include hexagon: fix strncpy_from_user() error return 2016-09-24 10:07:44 +02:00
kernel Merge branch 'akpm' (patches from Andrew) 2015-09-10 18:19:42 -07:00
lib Hexagon: Copyright marking changes 2012-10-18 17:07:21 -05:00
mm hexagon: Fix build failures in linux-next 2014-12-16 13:27:12 -06:00
Kconfig ktime: Kill non-scalar ktime_t implementation for 2038 2014-07-23 10:16:50 -07:00
Makefile Hexagon: change arch version config to allow comparisons 2013-04-30 19:40:22 -05:00