tmp_suning_uos_patched/arch/tile/lib
Chris Metcalf c0f0601060 tile: fix strncpy_from_user bug
In strncpy_from_user_asm, when the destination buffer length was the
same as the actual string length, we were returning the size of the
destination buffer.  But since it's a NUL terminated string, we should
return the length of the string instead.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
2013-08-30 11:56:42 -04:00
..
atomic_32.c
atomic_asm_32.S tile: use proper .align directives on __ex_table sections 2013-08-30 11:56:11 -04:00
cacheflush.c tile: convert uses of "inv" to "finv" 2013-07-31 11:51:19 -04:00
checksum.c
cpumask.c
delay.c
exports.c tile: support ftrace on tilegx 2013-08-30 10:20:13 -04:00
Makefile tile: optimize strnlen using SIMD instructions 2013-08-01 20:08:51 -04:00
memchr_32.c
memchr_64.c tile: optimize and clean up string functions 2013-08-01 16:23:12 -04:00
memcpy_32.S tile: use proper .align directives on __ex_table sections 2013-08-30 11:56:11 -04:00
memcpy_64.c tile: optimize and clean up string functions 2013-08-01 16:23:12 -04:00
memcpy_tile64.c tile: support CONFIG_PREEMPT 2013-08-13 16:26:01 -04:00
memcpy_user_64.c tile: use proper .align directives on __ex_table sections 2013-08-30 11:56:11 -04:00
memmove.c
memset_32.c tile: optimize and clean up string functions 2013-08-01 16:23:12 -04:00
memset_64.c tile: optimize and clean up string functions 2013-08-01 16:23:12 -04:00
spinlock_32.c
spinlock_64.c
spinlock_common.h
strchr_32.c tile: optimize and clean up string functions 2013-08-01 16:23:12 -04:00
strchr_64.c tile: optimize and clean up string functions 2013-08-01 16:23:12 -04:00
string-endian.h tile: optimize and clean up string functions 2013-08-01 16:23:12 -04:00
strlen_32.c tile: optimize and clean up string functions 2013-08-01 16:23:12 -04:00
strlen_64.c
strnlen_32.c tile: optimize strnlen using SIMD instructions 2013-08-01 20:08:51 -04:00
strnlen_64.c tile: optimize strnlen using SIMD instructions 2013-08-01 20:08:51 -04:00
uaccess.c
usercopy_32.S tile: fix strncpy_from_user bug 2013-08-30 11:56:42 -04:00
usercopy_64.S tile: fix strncpy_from_user bug 2013-08-30 11:56:42 -04:00