Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754801AbZJUSv3 (ORCPT ); Wed, 21 Oct 2009 14:51:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754008AbZJUSv3 (ORCPT ); Wed, 21 Oct 2009 14:51:29 -0400 Received: from e38.co.us.ibm.com ([32.97.110.159]:47535 "EHLO e38.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753934AbZJUSv2 (ORCPT ); Wed, 21 Oct 2009 14:51:28 -0400 Date: Wed, 21 Oct 2009 11:52:42 -0700 From: Sukadev Bhattiprolu To: "Eric W. Biederman" Cc: Matt Helsley , Oren Laadan , Daniel Lezcano , randy.dunlap@oracle.com, arnd@arndb.de, linux-api@vger.kernel.org, Containers , Nathan Lynch , linux-kernel@vger.kernel.org, Louis.Rilling@kerlabs.com, kosaki.motohiro@jp.fujitsu.com, hpa@zytor.com, mingo@elte.hu, torvalds@linux-foundation.org, Alexey Dobriyan , roland@redhat.com, Pavel Emelyanov Subject: Re: [RFC][v8][PATCH 0/10] Implement clone3() system call Message-ID: <20091021185242.GB12955@us.ibm.com> References: <4ADCCD68.9030003@free.fr> <4ADCDE7F.4090501@librato.com> <20091020005125.GG27627@count0.beaverton.ibm.com> <20091020040315.GA26632@us.ibm.com> <20091020183329.GB22646@us.ibm.com> <20091021062021.GA2667@us.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: Linux 2.0.32 on an i486 User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 826 Lines: 20 Eric W. Biederman [ebiederm@xmission.com] wrote: | Not what I was thinking. The following untested patch is what I was | thinking. It just exposes last, min, and max to the callers which pass | in different appropriate values. Minor comments are that the caller has to choose which function to call and passing in 'target-1' for the 'last' in set_pidmap() seems a bit unnatural. But I can't think of a better way and I think this will work. Will test it out. Pavel Emelyanov - you too had some comments about this part of my code. Let me know if this works for you. Sukadev -- 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/