Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752153AbZI2Waz (ORCPT ); Tue, 29 Sep 2009 18:30:55 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751976AbZI2Way (ORCPT ); Tue, 29 Sep 2009 18:30:54 -0400 Received: from terminus.zytor.com ([198.137.202.10]:52267 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751857AbZI2Way (ORCPT ); Tue, 29 Sep 2009 18:30:54 -0400 Message-ID: <4AC287F2.8060603@zytor.com> Date: Tue, 29 Sep 2009 15:19:30 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.1) Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Thunderbird/3.0b3 MIME-Version: 1.0 To: Linus Torvalds CC: Arjan van de Ven , Roland McGrath , Sukadev Bhattiprolu , Arnd Bergmann , Containers , Nathan Lynch , linux-kernel@vger.kernel.org, "Eric W. Biederman" , mingo@elte.hu, Alexey Dobriyan , Pavel Emelyanov , linux-api@vger.kernel.org, kosaki.motohiro@jp.fujitsu.com Subject: Re: [RFC][v7][PATCH 8/9]: Define clone2() syscall References: <20090924165548.GA16586@us.ibm.com> <20090924170308.GH16989@us.ibm.com> <200909242343.59903.arnd@arndb.de> <20090925082346.GB4436@localdomain> <20090925105632.GG12824@hawkmoon.kerlabs.com> <20090929180537.GD4625@us.ibm.com> <20090929184023.532DF34@magilla.sf.frob.com> <4AC255A4.4030002@zytor.com> <20090929210207.247b94df@infradead.org> <4AC267C7.4070300@zytor.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 953 Lines: 24 On 09/29/2009 03:11 PM, Linus Torvalds wrote: > > Ok, I agree with that. The kernel side is easy (we have magic calling > conventions there and need to turn registers into arguments anyway before > you get to the shared code), but your point about the user side prototype > is valid. > I think it would also apply to kernel-side munging. It's quite possibly you're right in that clone is such a special case anyway, but it seems pointless to make it more special in the short bus sort of way even if it is possible. Let's just make it another system call. It doesn't have any downside that I can see, might prevent problems, and avoids setting a bad precedent that someone can misinterpret. -hpa -- 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/