linux_dsm_epyc7002/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 arch/tile: optimize get_user/put_user and friends 2012-05-25 12:48:23 -04:00
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 arch/tile: break out the "csum a long" function to <asm/checksum.h> 2012-07-11 16:04:57 -04:00
cpumask.c tile: export a handful of symbols appropriately 2013-02-08 13:20:36 -05:00
delay.c arch/tile: fix __ndelay etc to work better 2011-03-01 16:20:04 -05:00
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 arch/tile: fix memchr() not to dereference memory for zero length 2010-11-24 13:57:42 -05:00
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 arch/tile: minor whitespace/naming changes for string support files 2010-10-15 15:38:54 -04:00
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 arch/tile: remove inline marking of EXPORT_SYMBOL functions 2013-05-09 13:53:45 -04:00
spinlock_64.c arch/tile: finish enabling support for TILE-Gx 64-bit chip 2011-05-12 15:52:12 -04:00
spinlock_common.h arch/tile: fix bug in delay_backoff() 2012-04-02 12:13:15 -04:00
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 arch/tile: support building big-endian kernel 2012-05-25 12:48:22 -04:00
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 Kconfig: consolidate CONFIG_DEBUG_STRICT_USER_COPY_CHECKS 2013-04-30 17:04:09 -07:00
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