Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754084Ab0AENdh (ORCPT ); Tue, 5 Jan 2010 08:33:37 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752382Ab0AENdg (ORCPT ); Tue, 5 Jan 2010 08:33:36 -0500 Received: from casper.infradead.org ([85.118.1.10]:34231 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751119Ab0AENdg (ORCPT ); Tue, 5 Jan 2010 08:33:36 -0500 Date: Tue, 5 Jan 2010 05:36:06 -0800 From: Arjan van de Ven To: Arjan van de Ven Cc: Heiko Carstens , Ingo Molnar , David Miller , Andrew Morton , linux-kernel@vger.kernel.org Subject: Re: strict copy_from_user checks issues? Message-ID: <20100105053606.22226880@infradead.org> In-Reply-To: <20100105053443.4a43fc18@infradead.org> References: <20100104154345.GA5671@osiris.boeblingen.de.ibm.com> <20100104174308.0790757c@infradead.org> <20100105094857.GB5480@osiris.boeblingen.de.ibm.com> <20100105053443.4a43fc18@infradead.org> Organization: Intel X-Mailer: Claws Mail 3.7.3 (GTK+ 2.16.6; i586-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 798 Lines: 21 On Tue, 5 Jan 2010 05:34:43 -0800 Arjan van de Ven wrote: > > this one is ... interesting btw... I have trouble myself finding where > the check is done... so I can understand gcc having trouble too. hmm I guess that's just because it's 5:30am here .. at 5:35am I do see it. Wonder if on x86 the function gets inlined, at which point gcc sees the check, while on s390 it doesn't ? -- Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/