android_kernel_xiaomi_sm8350/arch/s390/lib
Gerald Schaefer 331c465914 [PATCH] s390: fix strnlen_user return value
strnlen_user is supposed to return then length count + 1 if no terminating \0
is found, and it should return 0 on exception.  Found by David Howells
<dhowells@redhat.com>.

Signed-off-by: Gerald Schaefer <geraldsc@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Acked-By: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-08 14:14:01 -08:00
..
delay.c [PATCH] s390: fix __delay implementation 2006-02-14 16:09:35 -08:00
Makefile [PATCH] s390: Remove CVS generated information 2006-02-01 08:53:23 -08:00
spinlock.c
string.c
uaccess64.S [PATCH] s390: fix strnlen_user return value 2006-03-08 14:14:01 -08:00
uaccess.S [PATCH] s390: fix strnlen_user return value 2006-03-08 14:14:01 -08:00