Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753737AbYKRV3q (ORCPT ); Tue, 18 Nov 2008 16:29:46 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752843AbYKRV3i (ORCPT ); Tue, 18 Nov 2008 16:29:38 -0500 Received: from mx3.mail.elte.hu ([157.181.1.138]:56096 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752416AbYKRV3h (ORCPT ); Tue, 18 Nov 2008 16:29:37 -0500 Date: Tue, 18 Nov 2008 22:29:19 +0100 From: Ingo Molnar To: Hiroshi Shimamoto Cc: Thomas Gleixner , "H. Peter Anvin" , linux-kernel@vger.kernel.org Subject: Re: [PATCH] x86: uaccess_64: fix return value in __copy_from_user() Message-ID: <20081118212919.GE19150@elte.hu> References: <491CDD0C.60405@ct.jp.nec.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <491CDD0C.60405@ct.jp.nec.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00,DNS_FROM_SECURITYSAGE autolearn=no SpamAssassin version=3.2.3 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 DNS_FROM_SECURITYSAGE RBL: Envelope sender in blackholes.securitysage.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 680 Lines: 21 * Hiroshi Shimamoto wrote: > From: Hiroshi Shimamoto > > __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 > --- > 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/