From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Boyd Subject: Re: linux-next: Tree for July 28 ("copy_from_user_overflow" undefined) Date: Fri, 29 Jul 2011 10:50:37 -0700 Message-ID: <4E32F2ED.4020000@codeaurora.org> References: <20110728160136.771e2c0a.rdunlap@xenotime.net> <20110728220926.6d1a91f4.rdunlap@xenotime.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: sedat.dilek@gmail.com Cc: Sedat Dilek , Randy Dunlap , Stephen Rothwell , linux-next@vger.kernel.org, LKML , Arnd Bergmann , Ingo Molnar , "H. Peter Anvin" , Chris Metcalf , Andrew Morton , Arjan van de Ven , Helge Deller , Heiko Carstens List-Id: linux-next.vger.kernel.org On 07/29/2011 02:45 AM, Sedat Dilek wrote: > [ CCing all people from 0416 patch ] > > OK, here a quick review and looking for suspicious commits: [snip] > -- a/lib/Makefile > +++ b/lib/Makefile > @@ -14,6 +14,7 @@ lib-y := ctype.o string.o vsprintf.o cmdline.o \ > proportions.o prio_heap.o ratelimit.o show_mem.o \ > is_single_threaded.o plist.o decompress.o find_next_bit.o > > +lib-$(CONFIG_ARCH_HAS_DEBUG_STRICT_USER_COPY_CHECKS) += usercopy.o > lib-$(CONFIG_MMU) += ioremap.o > lib-$(CONFIG_SMP) += cpumask.o > > So, I can rebuild next-201107{27,28} with > CONFIG_ARCH_HAS_DEBUG_STRICT_USER_COPY_CHECKS=y and look again if the > build-breakage in binfmt_misc is gone. > > Any comments from x86 folk? I already noticed this and sent a fixup patch to Andrew. Looks like he never picked it up. The real fix is to change that lib-$(CONFIG... to obj-$(CONFIG... See https://lkml.org/lkml/2011/7/6/6 for the patch. -- Sent by an employee of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.