From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755541AbYDJCQy (ORCPT ); Wed, 9 Apr 2008 22:16:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754088AbYDJCQo (ORCPT ); Wed, 9 Apr 2008 22:16:44 -0400 Received: from e3.ny.us.ibm.com ([32.97.182.143]:40951 "EHLO e3.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754008AbYDJCQo (ORCPT ); Wed, 9 Apr 2008 22:16:44 -0400 Date: Wed, 9 Apr 2008 19:15:23 -0700 From: sukadev@us.ibm.com To: Jakub Jelinek Cc: Andrew Morton , clg@fr.ibm.com, serue@us.ibm.com, "David C. Hansen" , Pavel Emelyanov , Containers , linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/3] add the clone64() and unshare64() syscalls Message-ID: <20080410021523.GB28477@us.ibm.com> References: <20080409222611.GA28087@us.ibm.com> <20080409223459.GC28267@us.ibm.com> <20080409230733.GR20478@devserv.devel.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080409230733.GR20478@devserv.devel.redhat.com> X-Operating-System: Linux 2.0.32 on an i486 User-Agent: Mutt/1.5.15+20070412 (2007-04-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Jakub Jelinek [jakub@redhat.com] wrote: | On Wed, Apr 09, 2008 at 03:34:59PM -0700, sukadev@us.ibm.com wrote: | > From: Cedric Le Goater | > Subject: [PATCH 3/3] add the clone64() and unshare64() syscalls | > | > This patch adds 2 new syscalls : | > | > long sys_clone64(unsigned long flags_high, unsigned long flags_low, | > unsigned long newsp); | > | > long sys_unshare64(unsigned long flags_high, unsigned long flags_low); | | Can you explain why are you adding it for 64-bit arches too? unsigned long | is there already 64-bit, and both sys_clone and sys_unshare have unsigned | long flags, rather than unsigned int. Hmm, By simply resuing clone() on 64 bit and adding a new call for 32-bit won't the semantics of clone() differ between the two ? i.e clone() on 64 bit supports say CLONE_NEWPTS clone() on 32bit does not ? Wouldn't it be simpler/cleaner if clone() and clone64() behaved the same on both 32 and 64 bit systems ? Sukadev