From: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
To: "H. Peter Anvin" <hpa@zytor.com>
Cc: kosaki.motohiro@jp.fujitsu.com, Ingo Molnar <mingo@elte.hu>,
Arjan van de Ven <arjan@infradead.org>,
Ritesh Raj Sarraf <rrs@researchut.com>,
linux-kernel@vger.kernel.org,
Thomas Gleixner <tglx@linutronix.de>
Subject: Re: 2.6.33-rc1 build failure: copy_from_user() buffer size is not provably correct
Date: Tue, 22 Dec 2009 09:19:09 +0900 (JST) [thread overview]
Message-ID: <20091222091642.1416.A69D9226@jp.fujitsu.com> (raw)
In-Reply-To: <4B2FADC5.3020709@zytor.com>
> 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.
I was also successed build.
my environment is here:
2.6.33-rc1
CONFIG_DEBUG_STRICT_USER_COPY_CHECKS=y
gcc version 4.4.2 20091027 (Red Hat 4.4.2-7) (GCC)
I'm amazing (?_?)
prev parent reply other threads:[~2009-12-22 0:19 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-21 8:34 Ritesh Raj Sarraf
2009-12-21 9:07 ` KOSAKI Motohiro
2009-12-21 9:13 ` Ingo Molnar
2009-12-21 11:09 ` Ritesh Raj Sarraf
2009-12-21 17:18 ` H. Peter Anvin
2009-12-21 17:27 ` Arjan van de Ven
2009-12-21 17:17 ` H. Peter Anvin
2009-12-21 17:42 ` Ritesh Raj Sarraf
2009-12-22 0:19 ` KOSAKI Motohiro [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091222091642.1416.A69D9226@jp.fujitsu.com \
--to=kosaki.motohiro@jp.fujitsu.com \
--cc=arjan@infradead.org \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=rrs@researchut.com \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®