Re: clone testcases in LTP

From: David Mosberger <>
Date: 2003-07-11 09:31:14
>>>>> 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).

To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Thu Jul 10 19:31:53 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:16 EST