From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751793AbXDKJkj (ORCPT ); Wed, 11 Apr 2007 05:40:39 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751795AbXDKJkj (ORCPT ); Wed, 11 Apr 2007 05:40:39 -0400 Received: from smtp105.mail.mud.yahoo.com ([209.191.85.215]:35185 "HELO smtp105.mail.mud.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751793AbXDKJki (ORCPT ); Wed, 11 Apr 2007 05:40:38 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.au; h=Received:X-YMail-OSG:Message-ID:Date:From:User-Agent:X-Accept-Language:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=Rpaywq/d5s+xSrlnpDDIzniDer2q853ynrhZMhNp0sjTPJVxKVJhlPfKtmdMfTmFePefF0U3gT0S1MfpF2pe2qezUmLBq4DJ/mFdKiRgCqXyRat5bB4+62hV7meiBVDq8tw00dw1dEy8yOMDcbaMrTysXXG/hmSrp5nuZfdGWDo= ; X-YMail-OSG: 29ixcXAVM1njQTARy6D2n0zHuw8ydhzvkP62SzT5z.AN5nydjnnH_dU5N23Y9zQ_N_lN6IX5fg-- Message-ID: <461CAD0D.3040609@yahoo.com.au> Date: Wed, 11 Apr 2007 19:40:29 +1000 From: Nick Piggin User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051007 Debian/1.7.12-1 X-Accept-Language: en MIME-Version: 1.0 To: Nick Piggin CC: Pierre Peiffer , Eric Dumazet , Andrew Morton , Dave Jones , Ulrich Drepper , Ingo Molnar , Andi Kleen , Ravikiran G Thirumalai , "Shai Fultheim (Shai@scalex86.org)" , pravin b shelar , linux-kernel@vger.kernel.org, Rusty Russell Subject: Re: [PATCH, take4] FUTEX : new PRIVATE futexes References: <20060808070708.GA3931@localhost.localdomain> <200608090826.28249.dada1@cosmosbay.com> <200608090843.52893.dada1@cosmosbay.com> <200703152010.35614.dada1@cosmosbay.com> <20070405194942.1414c030.dada1@cosmosbay.com> <20070407104339.6674336b.dada1@cosmosbay.com> <461764A6.3080703@yahoo.com.au> <20070407120051.9ed0e69a.dada1@cosmosbay.com> <461C8CD1.3080707@yahoo.com.au> <20070411101458.114125ee.dada1@cosmosbay.com> <461CA90E.3080306@yahoo.com.au> <461CAAA9.2090309@bull.net> <461CACB6.8080307@yahoo.com.au> In-Reply-To: <461CACB6.8080307@yahoo.com.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Nick Piggin wrote: > Pierre Peiffer wrote: > >> Nick Piggin a écrit : >> >>> >>> But... that isn't there in mainline. Why is it in -mm? >> >> >> >> This was introduced by lguest code.... >> I did not follow exaclty why. > > > OK, that's no problem, then it can remain exported but we just > have to document and audit that callers must pass in an aligned > address. We can also BUG_ON(address & ~PAGE_MASK); to handle > the security aspect. Err, duh no we can't because we don't know the size, which is the whole point :P Anyway.... just ensure callers have to fix alignment. -- SUSE Labs, Novell Inc.