Files
erofs-linux/include/asm-generic
GuanXuetao 7f509a9ef7 asm-generic headers: add arch-specific __strnlen_user calling in uaccess.h
This patch changes the implementation of strnlen_user in include/asm-generic/uaccess.h.
Originally, it calls strlen() function directly, which may not correctly handle the access of
user space in most mmu-enabled architectures.
New __strnlen_user is added for using as an architecture specific function.

Signed-off-by: Guan Xuetao <[email protected]>
Reviewed-by: Arnd Bergmann <[email protected]>
2011-03-17 09:19:05 +08:00
..
…
…
…
…
2010-10-07 14:08:55 +01:00
…
…
…
…
…
…
…
…
2011-03-17 09:19:04 +08:00
…
2010-10-07 14:08:55 +01:00
…
…
…
…
…
…
2010-10-07 14:08:55 +01:00
…
2010-06-09 11:12:36 +02:00
2010-01-05 15:34:49 +09:00
2011-01-13 17:32:47 -08:00
…
…
…
…
…
…
…
…
…
2010-09-10 10:56:51 +02:00
…
…
…
…
…
…
…
…
…
…
2011-03-17 09:19:04 +08:00
…
…
2010-08-09 16:48:44 -04:00
…
…
…
…
…
…
…
…
…
…