1 /* Check that exiting from a parent thread does not kill the child.
13 #include <sys/types.h>
21 for (i = 0; i < 50; i++)
35 pid = clone (process, (char *) stack + sizeof (stack) - 64,
36 (CLONE_VM | CLONE_FS | CLONE_FILES | CLONE_SIGHAND)
40 fprintf (stderr, "Bad clone %d\n", pid);