From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Mosberger Date: Thu, 10 Jul 2003 23:31:14 +0000 Subject: Re: clone testcases in LTP Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-ia64@vger.kernel.org >>>>> On Fri, 11 Jul 2003 09:22:42 +1000, Peter Chubb said: Peter> I'm not finding that clone2() works -- We get a segfault in the cloned Peter> process when it returns. Peter> __clone2(func, stack, STACKSIZE, SIGCHLD, NULL, NULL, NULL, NULL)) Umh, you're creating a new process with a different initial function. I doubt this has ever been tested. It probably should work, but I don't know of any app doing this for real (either you fork, or you create a thread). --david