[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130228094510.3341017130e4476e046bdd22@canb.auug.org.au>
Date: Thu, 28 Feb 2013 09:45:10 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: "H. Peter Anvin" <hpa@...or.com>
Cc: Stephen Boyd <sboyd@...eaurora.org>, Arnd Bergmann <arnd@...db.de>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org, Ingo Molnar <mingo@...e.hu>,
linux-parisc@...r.kernel.org, linux-s390@...r.kernel.org,
Arjan van de Ven <arjan@...ux.intel.com>,
Helge Deller <deller@....de>,
Heiko Carstens <heiko.carstens@...ibm.com>,
Chris Metcalf <cmetcalf@...era.com>
Subject: Re: [PATCH] Consolidate CONFIG_DEBUG_STRICT_USER_COPY_CHECK
Hi all,
On Wed, 27 Feb 2013 14:19:16 -0800 "H. Peter Anvin" <hpa@...or.com> wrote:
>
> Although some of the cases I have seen being flagged as "false
> positives" have been real bugs.
[hijacking the thread :-)]
I have been getting this warning for a very long time ( which would be an
error if CONFIG_DEBUG_STRICT_USER_COPY_CHECK was set):
i386 defconfig
i386-linux-gcc (GCC) 4.6.3
In file included from arch/x86/include/asm/uaccess.h:537:0,
from include/linux/uaccess.h:5,
from include/linux/highmem.h:8,
from include/linux/pagemap.h:10,
from fs/binfmt_misc.c:27:
arch/x86/include/asm/uaccess_32.h: In function 'parse_command.part.2':
arch/x86/include/asm/uaccess_32.h:211:26: warning: call to 'copy_from_user_overflow' declared with attribute warning: copy_from_user() buffer size is not provably correct [enabled by default]
--
Cheers,
Stephen Rothwell sfr@...b.auug.org.au
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists