summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorGuanXuetao <gxt@mprc.pku.edu.cn>2011-01-15 18:08:09 +0800
committerGuanXuetao <gxt@mprc.pku.edu.cn>2011-03-17 09:19:05 +0800
commit7f509a9ef7af0d6ac852d49eb87ed2b9857821cc (patch)
treeb6e1eb8c435cf14ce5626a33ab2da36aee9f791c /arch
parent38f5bf84bd588a82890f5ab32cba3317555a73e1 (diff)
downloadblackbird-obmc-linux-7f509a9ef7af0d6ac852d49eb87ed2b9857821cc.tar.gz
blackbird-obmc-linux-7f509a9ef7af0d6ac852d49eb87ed2b9857821cc.zip
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 <gxt@mprc.pku.edu.cn> Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud