mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 09:44:18 +08:00
d7b788cd06
Always stay within page boundaries when copying from user within strlen_user_mvcos()/strncpy_from_user_mvcos(). This allows to shorten the code a bit and may prevent unnecessary faults, since we copy quite large amounts of memory to kernel space. Also directly call the mvcos variants of copy_from_user() to avoid indirect branches. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> |
||
---|---|---|
.. | ||
delay.c | ||
div64.c | ||
Makefile | ||
mem32.S | ||
mem64.S | ||
qrnnd.S | ||
spinlock.c | ||
string.c | ||
uaccess_mvcos.c | ||
uaccess_pt.c | ||
uaccess_std.c | ||
uaccess.h | ||
ucmpdi2.c | ||
usercopy.c |