Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755376AbYAXRhK (ORCPT ); Thu, 24 Jan 2008 12:37:10 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751745AbYAXRg6 (ORCPT ); Thu, 24 Jan 2008 12:36:58 -0500 Received: from gprs189-60.eurotel.cz ([160.218.189.60]:57514 "EHLO amd.ucw.cz" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751707AbYAXRg6 (ORCPT ); Thu, 24 Jan 2008 12:36:58 -0500 Date: Thu, 24 Jan 2008 18:37:08 +0100 From: Pavel Machek To: Dave Hansen Cc: Cedric Le Goater , Linux Containers , Andrew Morton , Linux Kernel Mailing List , Pavel Emelyanov Subject: Re: [PATCH 1/2] Extend sys_clone and sys_unshare system calls API Message-ID: <20080124173708.GA4473@elf.ucw.cz> References: <478DFF8F.9030006@openvz.org> <20080123205930.GA5233@ucw.cz> <4798C664.1040409@fr.ibm.com> <1201195474.8329.38.camel@nimitz.home.sr71.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1201195474.8329.38.camel@nimitz.home.sr71.net> X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 971 Lines: 24 On Thu 2008-01-24 09:24:34, Dave Hansen wrote: > On Thu, 2008-01-24 at 18:09 +0100, Cedric Le Goater wrote: > > yes but we would need more something like : > > > > long sys_clone64(unsigned long flags_high, unsigned long flag_low) > > > > if we want the syscall to be supported on 32bit arch. clone2 is also > > being used on ia64 already. > > Did we decide not to do something with a variable number of arguments? > > sys_clonefoo(unsigned long *flags, int len); That is evil, because that means strace can no longer reliably print flags being used (for example). Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- 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/