Re: [PATCH] x86: uaccess_64: fix return value in __copy_from_user()

From: Ingo Molnar
Date: Tue Nov 18 2008 - 16:29:46 EST



* Hiroshi Shimamoto <h-shimamoto@xxxxxxxxxxxxx> wrote:

> From: Hiroshi Shimamoto <h-shimamoto@xxxxxxxxxxxxx>
>
> __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@xxxxxxxxxxxxx>
> ---
> arch/x86/include/asm/uaccess_64.h | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)

applied to tip/x86/urgent, thanks!

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/