lkml.org 
[lkml]   [2009]   [Dec]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.33-rc1 build failure: copy_from_user() buffer size is not provably correct
On 12/21/2009 01:13 AM, Ingo Molnar wrote:
>
> * KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> wrote:
>
>>> from mm/migrate.c:15:
>>> In function ???copy_from_user???,
>>> inlined from ???do_pages_stat??? at mm/migrate.c:1009:
>>> /tmp/all-yes-config/2.6.33-rc1/arch/x86/include/asm/uaccess_32.h:213: error:
>>> call to ???copy_from_user_overflow??? declared with attribute error:
>>> copy_from_user() buffer size is not provably correct
>>
>> afaik, ingo already queued this fix.
>> please wait (very) few days.
>>
>> thanks.
>
> hm, the one mm/migrate.c fix we had is already in -rc1:
>
> b9255850: mm: Adjust do_pages_stat() so gcc can see copy_from_user() is safe
>
> I've Cc:-ed more folks.
>

That *is* the error report that he is describing. What version of gcc
is he using? It might be dumber than the one I have.

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.



\
 
 \ /
  Last update: 2009-12-21 18:25    [W:1.674 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site