[lkml]   [2011]   [Aug]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 3.0.0-git21 -- CC fs/binfmt misc.o .../asm/uacce ss 32.h:211:26: error: call to ‘copy from user overflow’ =?windows-1252?Q?_declared_with_attribute_error=3A_copy=
On Sat, Aug 6, 2011 at 7:49 PM, Miles Lane <> wrote:
> I am not finding any kernel configuration that enables me to avoid
> this compile error.  Anyone know what I can do to successfully build
> this kernel?
> On Fri, Aug 5, 2011 at 1:15 PM, Miles Lane <> wrote:
>> CC      fs/binfmt_misc.o
>> In file included from /usr/src/linux-3.0/arch/x86/include/asm/uaccess.h:573:0,
>>                 from include/linux/uaccess.h:5,
>>                 from include/linux/highmem.h:7,
>>                 from include/linux/pagemap.h:10,
>>                 from fs/binfmt_misc.c:26:
>> /usr/src/linux-3.0/arch/x86/include/asm/uaccess_32.h: In function
>> ‘parse_command.part.1’:
>> /usr/src/linux-3.0/arch/x86/include/asm/uaccess_32.h:211:26: error:
>> call to ‘copy_from_user_overflow’ declared with attribute error:
>> copy_from_user() buffer size is not provably correct

Well, uaccess_32.h has this:

extern void copy_from_user_overflow(void)
__compiletime_error("copy_from_user() buffer size is not provably correct")
__compiletime_warning("copy_from_user() buffer size is not provably correct"




 "There's always a siren singing you to shipwreck"

   (Radiohead, "There There")
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2011-08-06 19:59    [W:0.060 / U:0.400 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site