Hi,
There is warning: control reaches end of non-void function in compiling
clone-multi-ptrace.c (utrace test case). The warning is treated as
error so as to failed making. A return valued is needed in function
grandchild_func.
Regards,
Wenji
--- clone-multi-ptrace.orig 2008-10-12 23:04:24.000000000 -0400
+++ clone-multi-ptrace.c 2008-10-12 22:40:50.000000000 -0400
@@ -68,6 +68,7 @@
getppid ();
/* _exit() would make ALL threads to exit. We need rew syscall */
syscall (__NR_exit, 22);
+ return 0;
}
static void