]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: uaccess_64: fix return value in __copy_from_user()
authorHiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Fri, 14 Nov 2008 02:06:04 +0000 (18:06 -0800)
committerIngo Molnar <mingo@elte.hu>
Tue, 18 Nov 2008 21:28:58 +0000 (22:28 +0100)
commit20a4a236c7de5c915551cdc562482aa53eaff40e
treea801472196c4cb994309d767c15c90317e05cf0c
parent093bac154c142fa1fb31a3ac69ae1bc08930231b
x86: uaccess_64: fix return value in __copy_from_user()

__copy_from_user() will return invalid value 16 when it fails to
access user space and the size is 10.

Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/uaccess_64.h