From: Wanlong G. <gao...@cn...> - 2012-12-12 09:57:40
|
On 12/12/2012 05:40 PM, Jan Stancek wrote: > > > ----- Original Message ----- >> From: "Wanlong Gao" <gao...@cn...> >> To: "LTP" <ltp...@li...> >> Sent: Wednesday, 12 December, 2012 3:41:42 AM >> Subject: [LTP] [PATCH] clone05: signal parent when the child terminates >> >> Add SIGCHLD flag when doing clone to signal parent when the child >> terminates. >> This flag is missed by commit c91af2ff. >> >> Signed-off-by: Wanlong Gao <gao...@cn...> >> --- >> testcases/kernel/syscalls/clone/clone05.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/testcases/kernel/syscalls/clone/clone05.c >> b/testcases/kernel/syscalls/clone/clone05.c >> index 4797b46..06b84ed 100644 >> --- a/testcases/kernel/syscalls/clone/clone05.c >> +++ b/testcases/kernel/syscalls/clone/clone05.c >> @@ -60,7 +60,7 @@ int main(int ac, char **av) >> for (lc = 0; TEST_LOOPING(lc); lc++) { >> Tst_count = 0; >> >> - TEST(ltp_clone(CLONE_VM | CLONE_VFORK, child_fn, NULL, >> + TEST(ltp_clone(CLONE_VM | CLONE_VFORK | SIGCHLD, child_fn, NULL, > > Good catch. > Reviewed-by: Jan Stancek <jst...@re...> Thank you for review, committed. Wanlong Gao |