Re: clone testcases in LTP

From: Nathan Straz <>
Date: 2003-07-12 00:15:08
On Fri, Jul 11, 2003 at 11:57:30AM +0200, Andreas Schwab wrote:
> Peter Chubb <> writes:
> |> I'm not finding that clone2() works -- We get a segfault in the cloned
> |> process when it returns.
> You can't return from the function, only exit() or _exit() works.

That seems really odd that you can't return from the function.  The
clone man page (dated 2001-06-26) says either way is an option.  I did
test it with the explicit exit() call and that does clean up the
Nate Straz                                    
sgi, inc                                 
Linux Test Project                        
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Fri Jul 11 10:15:55 2003

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